Vulnerability Details : CVE-2021-45713
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. create_scalar_function has a use-after-free.
Vulnerability category: Memory Corruption
Exploit prediction scoring system (EPSS) score for CVE-2021-45713
Probability of exploitation activity in the next 30 days: 0.08%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 31 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-45713
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
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-45713
-
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45713
-
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
Products affected by CVE-2021-45713
- cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*
- cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*