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

Base Score
7.4
MODERATE
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS Score
Exploitation Probability
0.486

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-23841,CVE-2021-23840,CVE-2021-3712 are fixed in OpenSSL 1.1.1jWindows
Vulnerabilities CVE-2021-23841,CVE-2021-23840,CVE-2021-3712 are fixed in OpenSSL (x64) 1.1.1jWindows
Vulnerabilities CVE-2021-3712 are fixed in OpenSSL 1.0.2zaWindows
Vulnerabilities CVE-2021-3712 are fixed in OpenSSL (x64) 1.0.2zaWindows
Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in OpenSSL 1.1.1lWindows
Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in OpenSSL (x64) 1.1.1lWindows
Vulnerabilities CVE-2021-20227,CVE-2021-3518,CVE-2021-3712 are affected in MySQL Workbench Enterprise Edition 8.0.26Windows
Vulnerabilities CVE-2021-20227,CVE-2021-3518,CVE-2021-3712 are affected in MySQL Workbench CE (x64) 8.0.26Windows
Multiple vulnerabilities are fixed in Nessus 6.0.1Windows
Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in Nessus 6.0.0Windows
Multiple vulnerabilities are fixed in Tenable Nessus 6.0.1Windows
Vulnerabilities CVE-2021-3711,CVE-2021-3712 are fixed in Tenable Nessus 6.0.0Windows
Multiple Vulnerabilities are affected in IBM Aspera Shares 1.10.0Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.57Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.58Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.59Windows
Vulnerabilities CVE-2021-26691,CVE-2021-3450,CVE-2021-3712 are fixed in Oracle Secure Backup 18.1.0.1.0Windows
Multiple Vulnerabilities are affected in IBM Security Guardium 11.1Windows
Multiple Vulnerabilities are affected in IBM Security Guardium 11.2Windows
Multiple Vulnerabilities are affected in IBM Security Guardium 11.3Windows
Multiple Vulnerabilities are affected in IBM Security Guardium 11.4Windows
Multiple Vulnerabilities are affected in IBM Security Guardium 11.0Windows
Multiple Vulnerabilities are affected in IBM Cognos Analytics 11.1Windows
Multiple Vulnerabilities are affected in IBM Cognos Analytics 11.2Windows
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl-1_0_0-devel-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-32bit-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-debuginfo-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-debuginfo-32bit-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-hmac-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_0_0-hmac-32bit-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-debuginfo-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-debugsource-1.0.2p-3.39.3.x86_64.rpmLinux
SUSE-SU-2021:2826-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_0_0-doc-1.0.2p-3.39.3.noarch.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-32bit-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-debuginfo-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) libopenssl1_1-debuginfo-32bit-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-debuginfo-1.1.1d-2.36.2.x86_64.rpmLinux
SUSE-SU-2021:2833-1(SUSE Linux Enterprise Server 12-SP5 ) openssl-1_1-debugsource-1.1.1d-2.36.2.x86_64.rpmLinux
openssl security update(DSA-4963-1) openssl_1.1.1d-0+deb10u7_i386.debLinux
openssl security update(DSA-4963-1) openssl_1.1.1d-0+deb10u7_amd64.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1f-1ubuntu2.8_i386.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1f-1ubuntu2.8_amd64.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1j-1ubuntu3.5_i386.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1j-1ubuntu3.5_amd64.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1-1ubuntu2.1~18.04.13_i386.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-1) libssl1.1_1.1.1-1ubuntu2.1~18.04.13_amd64.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-3) libssl1.0.0_1.0.2n-1ubuntu5.7_i386.debLinux
Secure Socket Layer (SSL) cryptographic library and tools (USN-5051-3) libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.debLinux
UEFI firmware for virtual machines (USN-5088-1) ovmf_2020.11-4ubuntu0.1_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) ovmf_0~20191122.bd85bf54-2ubuntu3.3_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi_2020.11-4ubuntu0.1_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi_0~20191122.bd85bf54-2ubuntu3.3_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) ovmf-ia32_2020.11-4ubuntu0.1_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi-arm_2020.11-4ubuntu0.1_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi-arm_0~20191122.bd85bf54-2ubuntu3.3_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi-aarch64_2020.11-4ubuntu0.1_all.debLinux
UEFI firmware for virtual machines (USN-5088-1) qemu-efi-aarch64_0~20191122.bd85bf54-2ubuntu3.3_all.debLinux
(RHSA-2021:5226) openssl security update openssl-1.1.1k-5.el8_5.x86_64.rpmLinux
(RHSA-2021:5226) openssl security update openssl-debugsource-1.1.1k-5.el8_5.i686.rpmLinux
(RHSA-2021:5226) openssl security update openssl-debugsource-1.1.1k-5.el8_5.x86_64.rpmLinux
(RHSA-2021:5226) openssl security update openssl-devel-1.1.1k-5.el8_5.i686.rpmLinux
(RHSA-2021:5226) openssl security update openssl-devel-1.1.1k-5.el8_5.x86_64.rpmLinux
(RHSA-2021:5226) openssl security update openssl-libs-1.1.1k-5.el8_5.i686.rpmLinux
(RHSA-2021:5226) openssl security update openssl-libs-1.1.1k-5.el8_5.x86_64.rpmLinux
(RHSA-2021:5226) openssl security update openssl-perl-1.1.1k-5.el8_5.x86_64.rpmLinux
Openssl update (ELSA-2021-5226) openssl-1.1.1k-5.el8_5.x86_64.rpmLinux
Openssl-devel update (ELSA-2021-5226) openssl-devel-1.1.1k-5.el8_5.i686.rpmLinux
Openssl-devel update (ELSA-2021-5226) openssl-devel-1.1.1k-5.el8_5.x86_64.rpmLinux
Openssl-libs update (ELSA-2021-5226) openssl-libs-1.1.1k-5.el8_5.i686.rpmLinux
Openssl-libs update (ELSA-2021-5226) openssl-libs-1.1.1k-5.el8_5.x86_64.rpmLinux
Openssl-perl update (ELSA-2021-5226) openssl-perl-1.1.1k-5.el8_5.x86_64.rpmLinux
(RHSA-2022:0064) openssl security update openssl-1.0.2k-23.el7_9.x86_64.rpmLinux
(RHSA-2022:0064) openssl security update openssl-devel-1.0.2k-23.el7_9.i686.rpmLinux
(RHSA-2022:0064) openssl security update openssl-devel-1.0.2k-23.el7_9.x86_64.rpmLinux
(RHSA-2022:0064) openssl security update openssl-libs-1.0.2k-23.el7_9.i686.rpmLinux
(RHSA-2022:0064) openssl security update openssl-libs-1.0.2k-23.el7_9.x86_64.rpmLinux
(RHSA-2022:0064) openssl security update openssl-perl-1.0.2k-23.el7_9.x86_64.rpmLinux
(RHSA-2022:0064) openssl security update openssl-static-1.0.2k-23.el7_9.i686.rpmLinux
(RHSA-2022:0064) openssl security update openssl-static-1.0.2k-23.el7_9.x86_64.rpmLinux
Openssl update (ELSA-2022-0064) openssl-1.0.2k-23.el7_9.x86_64.rpmLinux
Openssl-devel update (ELSA-2022-0064) openssl-devel-1.0.2k-23.el7_9.i686.rpmLinux
Openssl-devel update (ELSA-2022-0064) openssl-devel-1.0.2k-23.el7_9.x86_64.rpmLinux
Openssl-libs update (ELSA-2022-0064) openssl-libs-1.0.2k-23.el7_9.i686.rpmLinux
Openssl-libs update (ELSA-2022-0064) openssl-libs-1.0.2k-23.el7_9.x86_64.rpmLinux
Openssl-perl update (ELSA-2022-0064) openssl-perl-1.0.2k-23.el7_9.x86_64.rpmLinux
Openssl-static update (ELSA-2022-0064) openssl-static-1.0.2k-23.el7_9.i686.rpmLinux
Openssl-static update (ELSA-2022-0064) openssl-static-1.0.2k-23.el7_9.x86_64.rpmLinux
Out-of-bounds Read Vulnerability (CVE-2021-3712)NCM

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-347137MySQL 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