GitHub Advisory Database
GHSA-g4h2-4wvh-grc5
Uncontrolled Resource Consumption in simple_asn1
Details
An issue was discovered in the simple_asn1 crate 0.6.0 before 0.6.1 for Rust. There is a panic if UTCTime data, supplied by a remote attacker, has a second character greater than 0x7f.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | simple_asn1 | From 0.6.0 before 0.6.1 (fixed in 0.6.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45711
- https://github.com/acw/simple_asn1/issues/27
- https://github.com/acw/simple_asn1/commit/d7d39d709577710e9dc8833ee57d200eef366db8
- https://github.com/acw/simple_asn1
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md
- https://rustsec.org/advisories/RUSTSEC-2021-0125.html