# CVE-2021-38192: Overflow in prost-types

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-08T12:00:00.000Z
- Modified: 2026-06-17T04:01:43.877Z
- Also known as: GHSA-x4qm-mcjq-v2gf, RUSTSEC-2021-0073
- Weaknesses: CWE-120, CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- prost-types (crates.io): before 0.8.0; from 0.0.0-0 before 0.8.0
- prost_project prost: before 0.8.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0073.html> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/prost-types/RUSTSEC-2021-0073.md> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-38192> (advisory)
- <https://github.com/tokio-rs/prost/issues/438> (report, web)
- <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)

## Sources

- CVE List: [CVE-2021-38192](https://www.cve.org/CVERecord?id=CVE-2021-38192), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-x4qm-mcjq-v2gf](https://github.com/advisories/GHSA-x4qm-mcjq-v2gf), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0073](https://rustsec.org/advisories/RUSTSEC-2021-0073.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-38192](https://nvd.nist.gov/vuln/detail/CVE-2021-38192), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-38192 · Whole record: https://cve.day/CVE-2021-38192.json · Rebuilt by cve.day 2026-11-25T22:58:03.055Z
