Skip to content

CVE-2022-3786 X.509 Email Address Variable Length Buffer Overflow

HighCVSS 7.5 EPSS 92.5%
Published
Updated
Exploit status
No public exploit known

Description

A 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 a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). 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.

Affected products

ProductAffected versionsFixed in
crates.io openssl-src(crates.io) >= 300.0.0, < 300.0.11 300.0.11
debian/openssl(Debian:12) < 3.0.7-1 3.0.7-1
debian/openssl(Debian:13) < 3.0.7-1 3.0.7-1
debian/openssl(Debian:14) < 3.0.7-1 3.0.7-1
OpenSSL >= 3.0.0, < 3.0.7 3.0.7
Siemens Calibre ICE >= V2022.4, < V2023.1 V2023.1
Siemens Mcenter >= V5.2.1, < V5.3.0 V5.3.0
Siemens SCALANCE X204RNA (HSR) >= V3.2.7, < V3.2.8 V3.2.8
Siemens SCALANCE X204RNA (PRP) >= V3.2.7, < V3.2.8 V3.2.8
Siemens SCALANCE X204RNA EEC (HSR) >= V3.2.7, < V3.2.8 V3.2.8
Siemens SCALANCE X204RNA EEC (PRP) >= V3.2.7, < V3.2.8 V3.2.8
Siemens SCALANCE X204RNA EEC (PRP/HSR) >= V3.2.7, < V3.2.8 V3.2.8
Siemens SICAM GridPass >= V1.80, < V2.20 V2.20
Siemens SIMATIC RTLS Locating Manager >= V2.13.0.0, < V2.13.0.3 V2.13.0.3
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.7 3.0.2-0ubuntu1.7
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
nodejs node.js >= 18.0.0, < 18.11.0 18.11.0
nodejs node.js = 18.12.0 No fix listed
nodejs node.js = 19.0.0 No fix listed
alpine/nodejs(Alpine:v3.17) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.18) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.19) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.20) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.21) < 18.12.1-r0 18.12.1-r0
Show 13 more
ProductAffected versionsFixed in
alpine/nodejs(Alpine:v3.22) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.23) < 18.12.1-r0 18.12.1-r0
alpine/nodejs(Alpine:v3.24) < 18.12.1-r0 18.12.1-r0
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.18) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.19) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.20) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.21) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.22) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.23) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl(Alpine:v3.24) >= 3.0.0, < 3.0.7-r0 3.0.7-r0
alpine/openssl3(Alpine:v3.15) < 3.0.7-r0 3.0.7-r0
alpine/openssl3(Alpine:v3.16) < 3.0.7-r0 3.0.7-r0

References