Advisory

GHSA-qpgv-g792-wh6x

Also known as: CAN-2021-1000007, CVE-2021-29932, RUSTSEC-2021-0041

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:54 UTC
Modified
2023-11-08 03:56 UTC

Affected packages and fixes

parse_duration

crates.io · All systems

Affected

  • introduced 0, last affected 2.1.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences