CVE-2021-45711 json
Panic on incorrect date input to `simple_asn1`
published 2021-11-14 4 y ago modified 2026-06-17 4 mo ago also GHSA-3m6f-3gfg-4x56 , GHSA-g4h2-4wvh-grc5 , RUSTSEC-2021-0125 , EUVD-2022-0594
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
1.38% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | simple_asn1 | >=0.6.0, <0.6.1 |
0.6.1 |
Classification
References
-
github.com
/acw/simple_asn1/commit/d7d39d709577710e9dc8833ee57d200eef366db8
web
-
rustsec.org
/advisories/RUSTSEC-2021-0125.html
web, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md
web, third-party-advisory
-
github.com
/acw/simple_asn1/issues/27
web, report
-
github.com
/acw/simple_asn1
package
-
nvd.nist.gov
/vuln/detail/CVE-2021-45711
advisory
-
crates.io
/crates/simple_asn1
package
Sources
- CVE List CVE-2021-45711
- GitHub Advisory GHSA-3m6f-3gfg-4x56
- GitHub Advisory GHSA-g4h2-4wvh-grc5
- NVD CVE-2021-45711
- OSV RUSTSEC-2021-0125
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.