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).
CVSS Details
- CVSS 3.1 Base Score: 7.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade openssl-perlUpgrade openssl-develUpgrade openssl-libsUpgrade openssl | May 4, 2022 | Aug 24, 2021 |
| Alpine Linux | — | Upgrade openssl3Upgrade opensslUpgrade openssl1.1-compat | Mar 26, 2024 | Aug 24, 2021 |
| Amazon Linux Ami 2 | — | Upgrade openssl11-develUpgrade edk2-toolsUpgrade openssl11Upgrade edk2-tools-docUpgrade openssl11-libsUpgrade openssl11-staticUpgrade openssl-perlUpgrade opensslUpgrade edk2-ovmfUpgrade edk2-aarch64Upgrade openssl-develUpgrade edk2-debuginfoUpgrade openssl-staticUpgrade openssl-debuginfoUpgrade openssl-libsUpgrade openssl11-debuginfoUpgrade edk2-tools-python | Oct 7, 2021 | Aug 24, 2021 |
| Amazon_linux | — | Upgrade openssl | Oct 5, 2021 | Aug 24, 2021 |
| Aruba Aos 10 | — | Upgrade Aruba AOS-10 to a fixed version | Jan 14, 2025 | Feb 28, 2023 |
| Aruba Aos 8 | — | Upgrade Aruba AOS-8 to a fixed version | Jan 14, 2025 | Feb 28, 2023 |
| Aruba Aos Cx | — | Upgrade Aruba AOS-CX to a fixed version | Feb 24, 2025 | Feb 22, 2022 |
| Centos_linux | — | Upgrade openssl-develUpgrade openssl-staticUpgrade openssl-libs-debuginfoUpgrade openssl-debugsourceUpgrade opensslUpgrade openssl-libsUpgrade openssl-perlUpgrade openssl-debuginfo | Dec 22, 2021 | Aug 24, 2021 |
| Debian | — | Upgrade openssl | Aug 26, 2021 | Aug 24, 2021 |
| F5 Big Ip | — | Update F5 BIG-IP to the latest version | Jun 17, 2026 | Oct 1, 2021 |
| Freebsd | — | Upgrade mysql-connector-javaUpgrade mysql-server55Upgrade mysql-connector-java51Upgrade mysql-server80Upgrade mysql-connector-odbcUpgrade mysql-server57Upgrade FreeBSDUpgrade openssl-develUpgrade opensslUpgrade mysql-server56Upgrade mysql-connector-c++ | Nov 4, 2022 | Aug 24, 2021 |
| Gentoo Linux | — | Upgrade app-backup/tsm.Upgrade dev-libs/openssl. | Sep 8, 2022 | Aug 24, 2021 |
| Hp Ilo | — | Upgrade HP iLO 5 to version 2.60 | Jun 7, 2024 | Aug 24, 2021 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Aug 25, 2021 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade openssl-develUpgrade openssl-libsUpgrade openssl | Feb 24, 2022 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade openssl111d-libsUpgrade openssl111d-develUpgrade openssl111dUpgrade openssl111d-static | Nov 12, 2021 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade openssl-develUpgrade opensslUpgrade openssl-perlUpgrade openssl-libs | Nov 2, 2021 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade shim | Nov 12, 2021 | Aug 24, 2021 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory34 | Oct 12, 2022 | Aug 24, 2021 |
| Oracle Solaris | — | Upgrade library/security/openssl to version 1.0.2.26-0.175.3.36.0.27.0 on Solaris 11.3Upgrade library/security/openssl-11 to version 1.1.1.12-11.4.38.0.1.101.4 on Solaris 11.4Upgrade library/security/openssl to version 1.0.2.26-11.4.38.0.1.101.4 on Solaris 11.4Upgrade library/security/openssl/openssl-fips-140 to version 2.0.15-0.175.3.36.0.27.0 on Solaris 11.3 | Nov 17, 2021 | Aug 24, 2021 |
| Oracle_linux | — | Upgrade openssl-perlUpgrade opensslUpgrade openssl-debugsourceUpgrade openssl-libsUpgrade openssl-staticUpgrade openssl-devel | Dec 22, 2021 | Aug 24, 2021 |
| Redhat_linux | — | Upgrade openssl-staticUpgrade opensslUpgrade openssl-perlUpgrade openssl-libs-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develNo solution existsUpgrade openssl-debuginfoUpgrade openssl-libs | Dec 22, 2021 | Aug 24, 2021 |
| Rocky_linux | — | Upgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade opensslUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perl | May 5, 2022 | Aug 24, 2021 |
| Suse | — | Upgrade openssl1-docUpgrade libopenssl-1_1-devel-32bitUpgrade libopenssl0_9_8-hmacUpgrade libopenssl-1_0_0-devel-32bitUpgrade openssl-1_1-docUpgrade openssl-1_0_0-cavsUpgrade libopenssl1_0_0-steamUpgrade openssl-1_0_0Upgrade libopenssl1_1Upgrade libopenssl1_0_0Upgrade libopenssl1_1-hmac-32bitUpgrade opensslUpgrade libopenssl1_0_0-steam-32bitUpgrade libopenssl-develUpgrade libopenssl0_9_8Upgrade libopenssl1_0_0-hmac-32bitUpgrade libopenssl1_0_0-hmacUpgrade libopenssl1-develUpgrade openssl-docUpgrade libopenssl0_9_8-32bitUpgrade libopenssl-1_0_0-develUpgrade openssl-1_0_0-docUpgrade openssl1Upgrade libopenssl10Upgrade openssl-1_1Upgrade libopenssl1_1-32bitUpgrade libopenssl-1_1-develUpgrade libopenssl1_0_0-x86Upgrade libopenssl1_0_0-32bitUpgrade libopenssl1_1-hmacUpgrade libopenssl0_9_8-hmac-32bit | Aug 25, 2021 | Aug 24, 2021 |
| Ubuntu | — | Upgrade ovmfUpgrade libssl1.0.0 (Ubuntu Pro)Upgrade libssl1.0.0Upgrade ovmf-ia32Upgrade qemu-efi-armUpgrade qemu-efi-aarch64Upgrade qemu-efi-riscv64Upgrade libssl1.1Upgrade qemu-efi-loongarch64Upgrade qemu-efi | Aug 25, 2021 | Aug 24, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Aug 24, 2021 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub