Vulnerability Description
An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vec-Const Project | Vec-Const | < 2.0.0 |
Related Weaknesses (CWE)
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0082.htmlThird Party Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0082.htmlThird Party Advisory
FAQ
What is CVE-2021-45680?
CVE-2021-45680 is a vulnerability with a CVSS score of 7.5 (HIGH). An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.
How severe is CVE-2021-45680?
CVE-2021-45680 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-45680?
Check the references section above for vendor advisories and patch information. Affected products include: Vec-Const Project Vec-Const.