Skip to main content
← All vulnerabilities
CVE-2022-4203RUSTSEC-2023-0008GHSA-W67W-MW4J-8QRV

X.509 Name Constraints Read Buffer Overflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.8, 300.0.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

A read buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. The read buffer overrun might result in a crash which could lead to a denial of service attack. In theory it could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext) although we are not aware of any working exploit leading to memory contents disclosure as of the time of release of this advisory. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenSSL OpenSSL

    From 3.0.0 · fixed in 3.0.8

  • openssl-srccrates.io

    From 300.0.0 · fixed in 300.0.12

References 3

openssl.org

git.openssl.org

security.gentoo.org