{"schemaVersion":3,"id":"CVE-2021-29932","aliases":["CGA-744v-67wq-6mxf","CGA-cjjx-9wqp-xwfm","CGA-h9gj-wc8g-56fx","CGA-h9p4-jf8r-v5fc","CGA-j4pf-prmj-r9x4","CGA-m7cj-vhg4-4mhf","GHSA-qpgv-g792-wh6x","CAN-2021-1000007","RUSTSEC-2021-0041"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-04-01T04:24:37.000Z","modified":"2024-08-03T22:18:03.277Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01016,"percentile":0.62972,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.035000000000000135,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00981},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01016,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01016,"percentile":0.62972}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01016,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01016,"percentile":0.62972}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"garage-1","name":"garage-1","label":"garage-1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/garage-1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"garage-2","name":"garage-2","label":"garage-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/garage-2","purlType":"apk","versions":[{"text":"< 2.4.1-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-r1 | < 2.4.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"garage-2.2","name":"garage-2.2","label":"garage-2.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/garage-2.2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"parse_duration","name":"parse_duration","label":"parse_duration","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/parse_duration","purlType":"cargo","versions":[{"text":"≤ 2.1.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 2.1.1 | ≥ 0.0.0-0 (No fix recorded)","eol":null,"hubHref":null},{"vendor":"parse_duration_project","product":"parse_duration","name":"parse duration","label":"parse_duration","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2021-03-18","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2021-03-18","eol":null,"hubHref":"/vendor/parse_duration_project/parse_duration"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0041.html","label":"rustsec.org/advisories/RUSTSEC-2021-0041.html","hostname":"rustsec.org","tags":["X Refsource MISC","Advisory","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29932","label":"nvd.nist.gov/vuln/detail/CVE-2021-29932","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/zeta12ti/parse_duration/issues/21","label":"github.com/zeta12ti/parse_duration/issues/21","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/zeta12ti/parse_duration","label":"github.com/zeta12ti/parse_duration","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/parse_duration","label":"crates.io/crates/parse_duration","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-JHQ7-RV6W-974G"]},"timeline":[{"kind":"published","date":"2021-04-01T04:24:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T22:18:03.277Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T20:08:19.908Z","stale":false,"partial":false}}