high7.5
CVE-2021-45711
Uncontrolled Resource Consumption in simple_asn1
Impact
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 | Fixed in |
|---|---|---|---|
| rust | simple_asn1 | = 0.6.0 | 0.6.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Simple Asn1 Project | Simple Asn1 | Version 0.6.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md
- https://rustsec.org/advisories/RUSTSEC-2021-0125.html
- https://github.com/advisories/GHSA-g4h2-4wvh-grc5
- 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