Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. CVE-2018-20997

CVE-2018-20997: Use after free in openssl

August 25, 2021 (updated June 13, 2023)

An issue was discovered in the openssl crate before 0.10.9 for Rust. A use-after-free occurs in CMS Signing.

References

  • github.com/advisories/GHSA-xjxc-vfw2-cg96
  • github.com/sfackler/rust-openssl
  • github.com/sfackler/rust-openssl/pull/942
  • nvd.nist.gov/vuln/detail/CVE-2018-20997
  • rustsec.org/advisories/RUSTSEC-2018-0010.html

Code Behaviors & Features

Detect and mitigate CVE-2018-20997 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.10.8 before 0.10.9

Fixed versions

  • 0.10.9

Solution

Upgrade to version 0.10.9 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/openssl/CVE-2018-20997.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:20 +0000.