Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4
Uncontrolled Resource Consumption in parse_duration
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.
Permalink: https://github.com/advisories/GHSA-qpgv-g792-wh6xJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-qpgv-g792-wh6x, CVE-2021-29932
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-29932
- https://github.com/zeta12ti/parse_duration/issues/21
- https://rustsec.org/advisories/RUSTSEC-2021-0041.html
- https://github.com/advisories/GHSA-qpgv-g792-wh6x
Blast Radius: 15.3
Affected Packages
cargo:parse_duration
Dependent packages: 38Dependent repositories: 109
Downloads: 1,600,301 total
Affected Version Ranges: <= 2.1.1
No known fixed version
All affected versions: 0.1.0, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 2.0.0, 2.0.1, 2.1.0, 2.1.1