CVE-2021-45711
HIGH 7.5CVSS 3.1Panic on incorrect date input to `simple_asn1`
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.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-3m6f-3gfg-4x56GHSA-g4h2-4wvh-grc5RUSTSEC-2021-0125
- Sources
- NVDJSONOSV GHSA-3m6f-3gfg-4x56JSONOSV GHSA-g4h2-4wvh-grc5JSONOSV RUSTSEC-2021-0125JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simple_asn1_project | simple_asn1cpe:2.3:a:simple_asn1_project:simple_asn1:0.6.0:*:*:*:*:rust:*:* |
= 0.6.0 | |
| OSV | crates.io | simple_asn1 | >= 0.6.0, < 0.6.1 | 0.6.1 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0125.html · Third Party Advisory, WEB, ADVISORY
- https://github.com/acw/simple_asn1/issues/27 · WEB, REPORT
- https://github.com/acw/simple_asn1/commit/d7d39d709577710e9dc8833ee57d200eef366db8 · WEB
- https://github.com/acw/simple_asn1 · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-45711 · ADVISORY
- https://crates.io/crates/simple_asn1 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)