Vulnerability Details : CVE-2021-45681
An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. An invalid reference (and memory corruption) can occur because AddRef might not be called before returning a pointer.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-45681
- cpe:2.3:a:derive-com-impl_project:derive-com-impl:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-45681
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 44 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-45681
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-45681
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45681
-
https://rustsec.org/advisories/RUSTSEC-2021-0083.html
RUSTSEC-2021-0083: derive-com-impl: QueryInterface should call AddRef before returning pointer › RustSec Advisory DatabaseThird Party Advisory
-
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md
Third Party Advisory
Jump to