Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. simple_asn1
  4. ›
  5. CVE-2021-45711

CVE-2021-45711: Uncontrolled Resource Consumption in simple_asn1

January 6, 2022 (updated January 7, 2022)

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.

References

  • github.com/acw/simple_asn1
  • github.com/acw/simple_asn1/commit/d7d39d709577710e9dc8833ee57d200eef366db8
  • github.com/acw/simple_asn1/issues/27
  • github.com/advisories/GHSA-g4h2-4wvh-grc5
  • nvd.nist.gov/vuln/detail/CVE-2021-45711
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/simple_asn1/RUSTSEC-2021-0125.md
  • rustsec.org/advisories/RUSTSEC-2021-0125.html

Code Behaviors & Features

Detect and mitigate CVE-2021-45711 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 before 0.6.1, version 0.6.0

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

cargo/simple_asn1/CVE-2021-45711.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.