CVE-2021-3712
Description
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 OpenSSLs 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).
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2021-23841,CVE-2021-23840,CVE-2021-3712 are fixed in OpenSSL 1.1.1j | Windows |
| Vulnerabilities CVE-2021-23841,CVE-2021-23840,CVE-2021-3712 are fixed in OpenSSL (x64) 1.1.1j | Windows |
| Vulnerabilities CVE-2021-3712 are fixed in OpenSSL 1.0.2za | Windows |
| Vulnerabilities CVE-2021-3712 are fixed in OpenSSL (x64) 1.0.2za | Windows |
| Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in OpenSSL 1.1.1l | Windows |
| Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in OpenSSL (x64) 1.1.1l | Windows |
| Vulnerabilities CVE-2021-20227,CVE-2021-3518,CVE-2021-3712 are affected in MySQL Workbench Enterprise Edition 8.0.26 | Windows |
| Vulnerabilities CVE-2021-20227,CVE-2021-3518,CVE-2021-3712 are affected in MySQL Workbench CE (x64) 8.0.26 | Windows |
| Multiple vulnerabilities are fixed in Nessus 6.0.1 | Windows |
| Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in Nessus 6.0.0 | Windows |
| Multiple vulnerabilities are fixed in Tenable Nessus 6.0.1 | Windows |
| Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in Tenable Nessus 6.0.0 | Windows |
| Multiple Vulnerabilities are affected in IBM Aspera Shares 1.10.0 | Windows |
| Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.57 | Windows |
| Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.58 | Windows |
| Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.59 | Windows |
| Vulnerabilities CVE-2021-26691,CVE-2021-3450,CVE-2021-3712 are fixed in Oracle Secure Backup 18.1.0.1.0 | Windows |
| Multiple Vulnerabilities are affected in IBM Security Guardium 11.1 | Windows |
| Multiple Vulnerabilities are affected in IBM Security Guardium 11.2 | Windows |
| Multiple Vulnerabilities are affected in IBM Security Guardium 11.3 | Windows |
| Multiple Vulnerabilities are affected in IBM Security Guardium 11.4 | Windows |
| Multiple Vulnerabilities are affected in IBM Security Guardium 11.0 | Windows |
| Multiple Vulnerabilities are affected in IBM Cognos Analytics 11.1 | Windows |
| Multiple Vulnerabilities are affected in IBM Cognos Analytics 11.2 | Windows |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl-1_0_0-devel-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-32bit-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-debuginfo-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-debuginfo-32bit-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-hmac-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-hmac-32bit-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-debuginfo-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-debugsource-1.0.2p-3.39.3.x86_64.rpm | Linux |
| SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-doc-1.0.2p-3.39.3.noarch.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-32bit-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-debuginfo-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-debuginfo-32bit-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-debuginfo-1.1.1d-2.36.2.x86_64.rpm | Linux |
| SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-debugsource-1.1.1d-2.36.2.x86_64.rpm | Linux |
| openssl security update(DSA-4963-1) openssl_1.1.1d-0+deb10u7_i386.deb | Linux |
| openssl security update(DSA-4963-1) openssl_1.1.1d-0+deb10u7_amd64.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1f-1ubuntu2.8_i386.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1f-1ubuntu2.8_amd64.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1j-1ubuntu3.5_i386.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1j-1ubuntu3.5_amd64.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1-1ubuntu2.1~18.04.13_i386.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1-1ubuntu2.1~18.04.13_amd64.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-3) libssl1.0.0_1.0.2n-1ubuntu5.7_i386.deb | Linux |
| Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-3) libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) ovmf_2020.11-4ubuntu0.1_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) ovmf_0~20191122.bd85bf54-2ubuntu3.3_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi_2020.11-4ubuntu0.1_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi_0~20191122.bd85bf54-2ubuntu3.3_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) ovmf-ia32_2020.11-4ubuntu0.1_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi-arm_2020.11-4ubuntu0.1_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi-arm_0~20191122.bd85bf54-2ubuntu3.3_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi-aarch64_2020.11-4ubuntu0.1_all.deb | Linux |
| UEFI firmware for virtual machines (USN-5088-1) qemu-efi-aarch64_0~20191122.bd85bf54-2ubuntu3.3_all.deb | Linux |
| (RHSA-2021:5226) openssl security update openssl-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-debugsource-1.1.1k-5.el8_5.i686.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-debugsource-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-devel-1.1.1k-5.el8_5.i686.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-devel-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-libs-1.1.1k-5.el8_5.i686.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-libs-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| (RHSA-2021:5226) openssl security update openssl-perl-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| Openssl update (ELSA-2021-5226) openssl-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| Openssl-devel update (ELSA-2021-5226) openssl-devel-1.1.1k-5.el8_5.i686.rpm | Linux |
| Openssl-devel update (ELSA-2021-5226) openssl-devel-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| Openssl-libs update (ELSA-2021-5226) openssl-libs-1.1.1k-5.el8_5.i686.rpm | Linux |
| Openssl-libs update (ELSA-2021-5226) openssl-libs-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| Openssl-perl update (ELSA-2021-5226) openssl-perl-1.1.1k-5.el8_5.x86_64.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-devel-1.0.2k-23.el7_9.i686.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-devel-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-libs-1.0.2k-23.el7_9.i686.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-libs-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-perl-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-static-1.0.2k-23.el7_9.i686.rpm | Linux |
| (RHSA-2022:0064) openssl security update openssl-static-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Openssl update (ELSA-2022-0064) openssl-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Openssl-devel update (ELSA-2022-0064) openssl-devel-1.0.2k-23.el7_9.i686.rpm | Linux |
| Openssl-devel update (ELSA-2022-0064) openssl-devel-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Openssl-libs update (ELSA-2022-0064) openssl-libs-1.0.2k-23.el7_9.i686.rpm | Linux |
| Openssl-libs update (ELSA-2022-0064) openssl-libs-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Openssl-perl update (ELSA-2022-0064) openssl-perl-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Openssl-static update (ELSA-2022-0064) openssl-static-1.0.2k-23.el7_9.i686.rpm | Linux |
| Openssl-static update (ELSA-2022-0064) openssl-static-1.0.2k-23.el7_9.x86_64.rpm | Linux |
| Out-of-bounds Read Vulnerability (CVE-2021-3712) | NCM |
Patch Details
Click to see the patches provided by ManageEngine for this CVE
| Patch ID | Patch Description |
|---|---|
| PATCH-347137 | MySQL Workbench CE (x64) (8.0.42) |
References
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234