Security mailing lists by PureSourceCode

CVE-2021-45719

HIGH 7.5CVSS 3.1

Use After Free in rusqlite

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. update_hook has a use-after-free.

Published
26 Dec 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-416
Also known as
CVE-2021-45713CVE-2021-45714CVE-2021-45715CVE-2021-45716CVE-2021-45717CVE-2021-45718GHSA-4qr3-m7ww-hh9gGHSA-87xh-9q6h-r5ccGHSA-92cx-4xm7-jr9mGHSA-cm8g-544f-p9x9GHSA-f6f2-3w33-54r9GHSA-g4g4-3pqw-8m7fGHSA-g87r-23vw-7f87GHSA-q89g-4vhh-mvvmRUSTSEC-2021-0128
Sources
NVDJSONOSV GHSA-4qr3-m7ww-hh9gJSONOSV GHSA-87xh-9q6h-r5ccJSONOSV GHSA-92cx-4xm7-jr9mJSONOSV GHSA-cm8g-544f-p9x9JSONOSV GHSA-f6f2-3w33-54r9JSONOSV GHSA-g4g4-3pqw-8m7fJSONOSV GHSA-g87r-23vw-7f87JSONOSV GHSA-q89g-4vhh-mvvmJSONOSV RUSTSEC-2021-0128JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rusqlite_project rusqlite
cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*
>= 0.25.0, < 0.25.4 0.25.4
NVD rusqlite_project rusqlite
cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*
>= 0.26.0, < 0.26.2 0.26.2
OSV crates.io rusqlite >= 0.25.0, < 0.25.4 0.25.4
OSV crates.io rusqlite >= 0.26.0, < 0.26.2 0.26.2
OSV crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0-0, < 0.26.2 0.25.4, 0.26.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 26 Dec 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Dec 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.