kritisch9.8
CVE-2021-45697
The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.
Auswirkung
Anyone who uses total_size(..) function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | molecule | < 0.7.2 | 0.7.2 |
Betroffene Produkte · Nervos
| Produkt | Betroffene Versionen |
|---|---|
| Molecule | vor 0.7.2 |
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md
- https://rustsec.org/advisories/RUSTSEC-2021-0103.html
- https://github.com/advisories/GHSA-6p3c-v8vc-c244
- https://nvd.nist.gov/vuln/detail/CVE-2021-45697
- https://github.com/nervosnetwork/molecule/pull/49
- https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9