# CVE-2021-45711: Panic on incorrect date input to `simple_asn1`

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-11-14T12:00:00.000Z
- Modified: 2026-06-17T04:13:59.860Z
- Also known as: GHSA-3m6f-3gfg-4x56, GHSA-g4h2-4wvh-grc5, RUSTSEC-2021-0125
- Weaknesses: CWE-20, CWE-400
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- simple_asn1 (crates.io): from 0.6.0 before 0.6.1
- simple_asn1_project simple_asn1: 0.6.0

## Every score

- GitHub: rating Medium
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0125.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md> (third-party-advisory, web)
- <https://github.com/acw/simple_asn1/issues/27> (report, web)
- <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)

## Sources

- CVE List: [CVE-2021-45711](https://www.cve.org/CVERecord?id=CVE-2021-45711), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3m6f-3gfg-4x56](https://github.com/advisories/GHSA-3m6f-3gfg-4x56), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-g4h2-4wvh-grc5](https://github.com/advisories/GHSA-g4h2-4wvh-grc5), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0125](https://rustsec.org/advisories/RUSTSEC-2021-0125.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-45711](https://nvd.nist.gov/vuln/detail/CVE-2021-45711), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45711 · Whole record: https://cve.day/CVE-2021-45711.json · Rebuilt by cve.day 2026-11-25T22:58:06.272Z
