hoch7.5
CVE-2021-38192
Overflow in prost-types
Auswirkung
Affected versions of this crate contained a bug in which untrusted input could cause an overflow and panic when converting a Timestamp to SystemTime. It is recommended to upgrade to prost-types v0.8 and switch the usage of From<Timestamp> for SystemTime to TryFrom<Timestamp> for SystemTime.
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 | prost-types | < 0.8.0 | 0.8.0 |
Betroffene Produkte · Prost Project
| Produkt | Betroffene Versionen |
|---|---|
| Prost | vor 0.8.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/prost-types/RUSTSEC-2021-0073.md
- https://rustsec.org/advisories/RUSTSEC-2021-0073.html
- https://github.com/advisories/GHSA-x4qm-mcjq-v2gf
- https://nvd.nist.gov/vuln/detail/CVE-2021-38192
- https://github.com/tokio-rs/prost/issues/438
- https://github.com/tokio-rs/prost/pull/439
- https://github.com/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385