{"id":"GHSA-x4qm-mcjq-v2gf","summary":"Overflow in prost-types","details":"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\u003cTimestamp\u003e for SystemTime to TryFrom\u003cTimestamp\u003e for SystemTime.","aliases":["CVE-2021-38192","RUSTSEC-2021-0073"],"modified":"2023-11-08T04:06:26.043741Z","published":"2021-08-25T20:55:53Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-18T21:29:54Z","nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-120","CWE-190"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38192"},{"type":"WEB","url":"https://github.com/tokio-rs/prost/issues/438"},{"type":"WEB","url":"https://github.com/tokio-rs/prost/pull/439"},{"type":"WEB","url":"https://github.com/tokio-rs/prost/commit/59f2a7311dd6540696bfd0145f5281ce495f4385"},{"type":"PACKAGE","url":"https://github.com/tokio-rs/prost/tree/master/prost-types"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0073.html"}],"affected":[{"package":{"name":"prost-types","ecosystem":"crates.io","purl":"pkg:cargo/prost-types"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-x4qm-mcjq-v2gf/GHSA-x4qm-mcjq-v2gf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}