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 opensslUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perl | May 4, 2022 | Aug 24, 2021 |
| Alpine Linux | — | Upgrade opensslUpgrade openssl1.1-compatUpgrade openssl3 | Mar 26, 2024 | Aug 24, 2021 |
| Amazon Linux Ami 2 | — | Upgrade edk2-aarch64Upgrade edk2-debuginfoUpgrade edk2-ovmfUpgrade edk2-toolsUpgrade edk2-tools-docUpgrade edk2-tools-pythonUpgrade opensslUpgrade openssl-debuginfoUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perlUpgrade openssl-staticUpgrade openssl11Upgrade openssl11-debuginfoUpgrade openssl11-develUpgrade openssl11-libsUpgrade openssl11-static | 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 opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perlUpgrade openssl-static | Dec 22, 2021 | Aug 24, 2021 |
| Debian | — | Upgrade openssl | Aug 26, 2021 | Aug 24, 2021 |
| Echo Linux | — | Upgrade opensslUpgrade openssl-1.0.1gUpgrade openssl-1.1.1cUpgrade openssl-1.1.1gUpgrade openssl-1.1.1k | Nov 12, 2026 | Aug 24, 2021 |
| F5 Big Ip | — | Update F5 BIG-IP to the latest version | Jun 17, 2026 | Oct 1, 2021 |
| Freebsd | — | Upgrade FreeBSDUpgrade mysql-connector-c++Upgrade mysql-connector-javaUpgrade mysql-connector-java51Upgrade mysql-connector-odbcUpgrade mysql-server55Upgrade mysql-server56Upgrade mysql-server57Upgrade mysql-server80Upgrade opensslUpgrade openssl-devel | 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 opensslUpgrade openssl-develUpgrade openssl-libs | Feb 24, 2022 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade openssl111dUpgrade openssl111d-develUpgrade openssl111d-libsUpgrade openssl111d-static | Nov 12, 2021 | Aug 24, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade opensslUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perl | 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 to version 1.0.2.26-11.4.38.0.1.101.4 on Solaris 11.4Upgrade library/security/openssl-11 to version 1.1.1.12-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 opensslUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perlUpgrade openssl-static | Dec 22, 2021 | Aug 24, 2021 |
| Redhat_linux | — | No solution existsUpgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perlUpgrade openssl-static | Dec 22, 2021 | Aug 24, 2021 |
| Rocky_linux | — | Upgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perl | May 5, 2022 | Aug 24, 2021 |
| Suse | — | Upgrade libopenssl-1_0_0-develUpgrade libopenssl-1_0_0-devel-32bitUpgrade libopenssl-1_1-develUpgrade libopenssl-1_1-devel-32bitUpgrade libopenssl-develUpgrade libopenssl0_9_8Upgrade libopenssl0_9_8-32bitUpgrade libopenssl0_9_8-hmacUpgrade libopenssl0_9_8-hmac-32bitUpgrade libopenssl1-develUpgrade libopenssl10Upgrade libopenssl1_0_0Upgrade libopenssl1_0_0-32bitUpgrade libopenssl1_0_0-hmacUpgrade libopenssl1_0_0-hmac-32bitUpgrade libopenssl1_0_0-steamUpgrade libopenssl1_0_0-steam-32bitUpgrade libopenssl1_0_0-x86Upgrade libopenssl1_1Upgrade libopenssl1_1-32bitUpgrade libopenssl1_1-hmacUpgrade libopenssl1_1-hmac-32bitUpgrade opensslUpgrade openssl-1_0_0Upgrade openssl-1_0_0-cavsUpgrade openssl-1_0_0-docUpgrade openssl-1_1Upgrade openssl-1_1-docUpgrade openssl-docUpgrade openssl1Upgrade openssl1-doc | Aug 25, 2021 | Aug 24, 2021 |
| Ubuntu | — | Upgrade libssl1.0.0Upgrade libssl1.0.0 (Ubuntu Pro)Upgrade libssl1.1Upgrade ovmfUpgrade ovmf-ia32Upgrade qemu-efiUpgrade qemu-efi-aarch64Upgrade qemu-efi-armUpgrade qemu-efi-loongarch64Upgrade qemu-efi-riscv64 | 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