hoch7.5
CVE-2021-45680
Out-of-bounds Write in vec-const
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | vec-const | < 2.0.0 | 2.0.0 |
Betroffene Produkte · Vec-const Project
| Produkt | Betroffene Versionen |
|---|---|
| Vec-const | vor 2.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/vec-const/RUSTSEC-2021-0082.md
- https://rustsec.org/advisories/RUSTSEC-2021-0082.html
- https://github.com/advisories/GHSA-x76r-966h-5qv9
- https://nvd.nist.gov/vuln/detail/CVE-2021-45680
- https://github.com/Eolu/vec-const/issues/1#issuecomment-898908241