CVE-2021-38192 json
Overflow in prost-types
published 2021-07-08 5 y ago modified 2026-06-17 4 mo ago also GHSA-x4qm-mcjq-v2gf , RUSTSEC-2021-0073 , EUVD-2021-1927
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io prost-types 0.8.0
- prost_project prost 0.8.0
- github.com/tokio-rs/prost@59f2a73 commit
- github.com/tokio-rs/prost#439 pull request
- rustsec.org/advisories/RUSTSEC-2021-0073.html advisory
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2021-0073.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | prost-types | <0.8.0 >=0.0.0-0, <0.8.0 |
0.8.0 |
Classification
References
-
rustsec.org
/advisories/RUSTSEC-2021-0073.html
web, exploit, issue-tracking, patch, third-party-advisory, advisory
-
github.com
/tokio-rs/prost/pull/439
web
-
github.com
/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385
web
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/prost-types/RUSTSEC-2021-0073.md
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-38192
advisory
-
github.com
/tokio-rs/prost/issues/438
web, report
-
github.com
/tokio-rs/prost/tree/master/prost-types
package
-
crates.io
/crates/prost-types
package
Sources
- CVE List CVE-2021-38192
- GitHub Advisory GHSA-x4qm-mcjq-v2gf
- NVD CVE-2021-38192
- OSV RUSTSEC-2021-0073
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.