Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl-src
  4. ›
  5. CVE-2022-1473

CVE-2022-1473: Resource leakage when decoding certificates and keys

May 4, 2022 (updated June 17, 2022)

The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occuppied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time. Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication. The function was added in the OpenSSL 3.0 version thus older releases are not affected by the issue. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

References

  • cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf
  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=64c85430f95200b6b51fe9475bd5203f7c19daf1
  • github.com/advisories/GHSA-g323-fr93-4j3c
  • github.com/github/advisory-database/issues/405
  • nvd.nist.gov/vuln/detail/CVE-2022-1473
  • rustsec.org/advisories/RUSTSEC-2022-0025.html
  • security.gentoo.org/glsa/202210-02
  • security.netapp.com/advisory/ntap-20220602-0009
  • www.openssl.org/news/secadv/20220503.txt

Code Behaviors & Features

Detect and mitigate CVE-2022-1473 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 300.0.0 before 300.0.6

Fixed versions

  • 300.0.6

Solution

Upgrade to version 300.0.6 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-404: Improper Resource Shutdown or Release
  • CWE-459: Incomplete Cleanup

Source file

cargo/openssl-src/CVE-2022-1473.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:32 +0000.