{"id":"GHSA-qpgv-g792-wh6x","summary":"Uncontrolled Resource Consumption in parse_duration","details":"An issue was discovered in the parse_duration crate through 2021-03-18 for Rust. It allows attackers to cause a denial of service (CPU and memory consumption) via a duration string with a large exponent.","aliases":["CAN-2021-1000007","CVE-2021-29932","RUSTSEC-2021-0041"],"modified":"2023-11-08T03:56:44.037848Z","published":"2021-08-25T20:54:04Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-19T17:21:25Z","nvd_published_at":"2021-04-01T05:15:00Z","cwe_ids":["CWE-400"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29932"},{"type":"WEB","url":"https://github.com/zeta12ti/parse_duration/issues/21"},{"type":"PACKAGE","url":"https://github.com/zeta12ti/parse_duration"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0041.html"}],"affected":[{"package":{"name":"parse_duration","ecosystem":"crates.io","purl":"pkg:cargo/parse_duration"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-qpgv-g792-wh6x/GHSA-qpgv-g792-wh6x.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"}]}