CVE-2021-38192
HIGH 7.5CVSS 3.1Overflow in prost-types
An issue was discovered in the prost-types crate before 0.8.0 for Rust. An overflow can occur during conversion from Timestamp to SystemTime.
- Published
- 8 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-120CWE-190
- Also known as
- GHSA-x4qm-mcjq-v2gfRUSTSEC-2021-0073
- Sources
- NVDJSONOSV GHSA-x4qm-mcjq-v2gfJSONOSV RUSTSEC-2021-0073JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prost_project | prostcpe:2.3:a:prost_project:prost:*:*:*:*:*:rust:*:* |
< 0.8.0 | 0.8.0 |
| OSV | crates.io | prost-types | < 0.8.0 | 0.8.0 |
| OSV | crates.io | prost-types | >= 0.0.0-0, < 0.8.0 | 0.8.0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/prost-types/RUSTSEC-2021-0073.md · Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0073.html · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-38192 · ADVISORY
- https://github.com/tokio-rs/prost/issues/438 · WEB, REPORT
- https://github.com/tokio-rs/prost/pull/439 · WEB
- https://github.com/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385 · WEB
- https://github.com/tokio-rs/prost/tree/master/prost-types · PACKAGE
- https://crates.io/crates/prost-types · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Jul 2021)