GHSA-qpgv-g792-wh6x

Suggest an improvement
Source
https://github.com/advisories/GHSA-qpgv-g792-wh6x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-qpgv-g792-wh6x/GHSA-qpgv-g792-wh6x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qpgv-g792-wh6x
Aliases
Published
2021-08-25T20:54:04Z
Modified
2023-11-08T03:56:44.037848Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-04-01T05:15:00Z",
    "github_reviewed_at": "2021-08-19T17:21:25Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-400"
    ]
}
References

Affected packages

crates.io / parse_duration

Package

Name
parse_duration
View open source insights on deps.dev
Purl
pkg:cargo/parse_duration

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.1.1