Vulnerability Details : CVE-2021-45719
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-45719
- cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*
- cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-45719
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 42 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-45719
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-45719
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45719
-
https://rustsec.org/advisories/RUSTSEC-2021-0128.html
RUSTSEC-2021-0128: rusqlite: Incorrect Lifetime Bounds on Closures in `rusqlite` › RustSec Advisory DatabaseExploit;Issue Tracking;Third Party Advisory
-
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md
Exploit;Third Party Advisory
Jump to