You can now sign in with a passkey, no password needed, or protect your account with a second factor. Learn more
OpenSSL: Read buffer overruns processing ASN.1 strings
Download as CSAF file (VEX, JSON)Machine-readable version of this assessment in the OASIS CSAF 2.0 standard, for example for your vulnerability scanner. You may pass the file on.
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own "d2i" functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure. However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the "data" and "length" fields in the ASN1_STRING array. This can also happen by using the ASN1_STRING_set0() function. Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the "data" field, then a read buffer overrun can occur. The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the X509_get1_email(), X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext). Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y).
The newest version of each supported line. Older versions are under “All versions”.
| Version | Status | Fixed from |
|---|---|---|
| EventReporter 26.11Current | Not affected | – |
| EventReporter 19.4aExtended maintenance | Not affected | – |
| MonitorWare Agent 26.11Current | Not affected | – |
| MonitorWare Agent 15.4aExtended maintenance | Not affected | – |
| rsyslog Windows Agent 26.11Current | Not affected | – |
| rsyslog Windows Agent 8.4aExtended maintenance |
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 19.4a ship OpenSSL 3.2.1, 19.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
Fixed from 18.3
Fixed by OpenSSL 1.1.1g → 1.1.1q
Releases before 18.3 ship OpenSSL 1.1.1g, which is affected; fixed from 18.3, which ships OpenSSL 1.1.1q. Line 18 is end of life; please update to a supported version (19.4a or 26.11).
| – |
| WinSyslog 26.11Current | Not affected | – |
|---|
| WinSyslog 18.4aExtended maintenance | Not affected | – |
|---|
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 18.3, 1.1.1q from 18.3
Releases before 17.2 ship OpenSSL 1.0.2k, 17.2 and later ship OpenSSL 1.0.2u; both are affected. Line 17 is end of life; please update to a supported version (19.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 17.2, 1.0.2u from 17.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 15.4a ship OpenSSL 3.2.1, 15.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
Fixed from 14.3
Fixed by OpenSSL 1.1.1g → 1.1.1q
Releases before 14.3 ship OpenSSL 1.1.1g, which is affected; fixed from 14.3, which ships OpenSSL 1.1.1q. Line 14 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 14.3, 1.1.1q from 14.3
Releases before 13.2 ship OpenSSL 1.0.2k, 13.2 and later ship OpenSSL 1.0.2u; both are affected. Line 13 is end of life; please update to a supported version (15.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 13.2, 1.0.2u from 13.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 8.4a ship OpenSSL 3.2.1, 8.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
Fixed from 7.3
Fixed by OpenSSL 1.1.1g → 1.1.1q
Releases before 7.3 ship OpenSSL 1.1.1g, which is affected; fixed from 7.3, which ships OpenSSL 1.1.1q. Line 7 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 7.3, 1.1.1q from 7.3
Releases before 6.2 ship OpenSSL 1.0.2k, 6.2 and later ship OpenSSL 1.0.2u; both are affected. Line 6 is end of life; please update to a supported version (8.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 6.2, 1.0.2u from 6.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 18.4a ship OpenSSL 3.2.1, 18.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
Fixed from 17.3
Releases before 17.3 ship OpenSSL 1.1.1g, which is affected; fixed from 17.3, which ships OpenSSL 1.1.1q. Line 17 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 17.3, 1.1.1q from 17.3
Releases before 16.2 ship OpenSSL 1.0.2k, 16.2 and later ship OpenSSL 1.0.2u; both are affected. Line 16 is end of life; please update to a supported version (18.4a or 26.11).
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 16.2, 1.0.2u from 16.2
Products and versions not listed here have not been checked.