Patchwire CVEs, their patch status, and feeds to follow them

CVE-2021-3711

Fixed in a distro release EPSS 88%

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated. Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k).

Published 2021-08-24 · CVE record · OSV

Products: OpenSSL

Fixed upstream

EcosystemPackageFixed in
crates.ioopenssl-src111.16.0

Distro releases

ReleasePackageFixed in
Alpine 3.11openssl1.1.1l-r0
Alpine 3.12openssl1.1.1l-r0
Alpine 3.13openssl1.1.1l-r0
Alpine 3.14openssl1.1.1l-r0
Alpine 3.15openssl1.1.1l-r0
Alpine 3.15openssl31.1.1l-r0
Alpine 3.16openssl1.1.1l-r0
Alpine 3.16openssl31.1.1l-r0
Alpine 3.17openssl1.1.1l-r0
Alpine 3.18openssl1.1.1l-r0
Alpine 3.19openssl1.1.1l-r0
Alpine 3.20openssl1.1.1l-r0
Alpine 3.21openssl1.1.1l-r0
Alpine 3.22openssl1.1.1l-r0
Alpine 3.23openssl1.1.1l-r0
Alpine 3.24openssl1.1.1l-r0
Debian 10openssl1.1.1d-0+deb10u7
Debian 11openssl1.1.1k-1+deb11u1
Debian 12openssl1.1.1l-1
Debian 13openssl1.1.1l-1
Debian 14openssl1.1.1l-1
SUSE Enterprise Storage 6grafana8.5.13-150100.3.12.1
SUSE HPE Helion OpenStack 8golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Micro 5.0openssl-1_11.1.1d-11.27.1
SUSE Linux Enterprise Module for Basesystem 15 SP2openssl-1_11.1.1d-11.27.1
SUSE Linux Enterprise Module for Basesystem 15 SP3openssl-1_11.1.1d-11.27.1
SUSE Linux Enterprise Module for Package Hub 15 SP4grafana8.5.13-150200.3.29.5
SUSE Linux Enterprise Server 12 SP3-BCLgolang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server 12 SP3-LTSSgolang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server 12 SP4-LTSSgolang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server 12 SP4-LTSSopenssl-1_11.1.1d-2.36.2
SUSE Linux Enterprise Server 12 SP5golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server 12 SP5openssl-1_11.1.1d-2.36.2
SUSE Linux Enterprise Server for SAP Applications 12 SP3golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server for SAP Applications 12 SP4golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server for SAP Applications 12 SP4openssl-1_11.1.1d-2.36.2
SUSE Linux Enterprise Server for SAP Applications 12 SP5golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Linux Enterprise Server for SAP Applications 12 SP5openssl-1_11.1.1d-2.36.2
SUSE Linux Enterprise Software Development Kit 12 SP5openssl-1_11.1.1d-2.36.2
SUSE Manager Client Tools 12golang-github-QubitProducts-exporter_exporter0.4.0-1.6.1
SUSE Manager Client Tools 12golang-github-boynux-squid_exporter1.6-1.9.1
SUSE Manager Client Tools 12golang-github-prometheus-alertmanager0.23.0-1.12.3
SUSE Manager Client Tools 12golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE Manager Client Tools 12grafana8.3.5-1.30.3
SUSE Manager Client Tools 12grafana8.5.13-1.36.2
SUSE Manager Client Tools 12mgr-cfg4.3.6-1.27.4
SUSE Manager Client Tools 12mgr-custom-info4.3.3-1.18.1
SUSE Manager Client Tools 12mgr-daemon4.3.4-1.32.3
SUSE Manager Client Tools 12mgr-osad4.3.6-1.39.4
SUSE Manager Client Tools 12mgr-push4.3.4-1.21.4
SUSE Manager Client Tools 12mgr-virtualization4.3.5-1.29.3
SUSE Manager Client Tools 12prometheus-blackbox_exporter0.19.0-1.14.1
SUSE Manager Client Tools 12prometheus-blackbox_exporter0.19.0-1.8.2
SUSE Manager Client Tools 12prometheus-postgres_exporter0.10.0-1.8.2
SUSE Manager Client Tools 12python-hwdata2.3.5-12.9.1
SUSE Manager Client Tools 12rhnlib4.3.4-21.43.3
SUSE Manager Client Tools 12spacecmd4.3.11-38.103.3
SUSE Manager Client Tools 12spacecmd4.3.16-38.112.1
SUSE Manager Client Tools 12spacewalk-client-tools4.3.13-52.80.1
SUSE Manager Client Tools 12spacewalk-client-tools4.3.9-52.71.3
SUSE Manager Client Tools 12spacewalk-koan4.3.5-24.33.3
SUSE Manager Client Tools 12spacewalk-oscap4.3.5-19.27.1
SUSE Manager Client Tools 12spacewalk-remote-utils4.3.3-24.24.3
SUSE Manager Client Tools 12supportutils-plugin-salt1.2.0-6.16.1
SUSE Manager Client Tools 12supportutils-plugin-susemanager-client4.3.2-6.24.1
SUSE Manager Client Tools 12suseRegisterInfo4.3.3-25.27.3
SUSE Manager Client Tools 12uyuni-common-libs4.3.4-1.21.3
SUSE Manager Client Tools 12-BETAgolang-github-QubitProducts-exporter_exporter0.4.0-4.6.2
SUSE Manager Client Tools 12-BETAgolang-github-boynux-squid_exporter1.6-4.9.2
SUSE Manager Client Tools 12-BETAgolang-github-lusitaniae-apache_exporter1.0.0-4.12.4
SUSE Manager Client Tools 12-BETAgolang-github-prometheus-alertmanager0.26.0-4.12.4
SUSE Manager Client Tools 12-BETAgolang-github-prometheus-node_exporter1.5.0-4.15.4
SUSE Manager Client Tools 12-BETAgolang-github-prometheus-prometheus2.45.0-4.33.3
SUSE Manager Client Tools 12-BETAgolang-github-prometheus-promu0.14.0-4.12.2
SUSE Manager Client Tools 12-BETAgrafana9.5.8-4.21.2
SUSE Manager Client Tools 12-BETAkiwi-desc-saltboot0.1.1687520761.cefb248-4.15.2
SUSE Manager Client Tools 12-BETAmgr-push5.0.1-4.21.4
SUSE Manager Client Tools 12-BETAprometheus-blackbox_exporter0.24.0-3.6.3
SUSE Manager Client Tools 12-BETAprometheus-postgres_exporter0.10.1-3.6.4
SUSE Manager Client Tools 12-BETApython-hwdata2.3.5-15.12.2
SUSE Manager Client Tools 12-BETArhnlib5.0.1-24.30.3
SUSE Manager Client Tools 12-BETAspacecmd5.0.1-41.42.3
SUSE Manager Client Tools 12-BETAsupportutils-plugin-salt1.2.2-9.9.2
SUSE Manager Client Tools 12-BETAsupportutils-plugin-susemanager-client5.0.1-9.15.2
SUSE Manager Client Tools 12-BETAsystem-user-grafana1.0.0-3.7.2
SUSE Manager Client Tools 12-BETAsystem-user-prometheus1.0.0-3.7.2
SUSE Manager Client Tools 12-BETAuyuni-common-libs5.0.1-3.33.3
SUSE Manager Client Tools 15dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
SUSE Manager Client Tools 15golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE Manager Client Tools 15grafana8.3.5-150000.1.30.1
SUSE Manager Client Tools 15grafana8.5.13-150000.1.36.3
SUSE Manager Client Tools 15mgr-cfg4.2.8-150000.1.24.1
SUSE Manager Client Tools 15mgr-osad4.2.8-150000.1.36.1
SUSE Manager Client Tools 15mgr-push4.2.5-150000.1.18.2
SUSE Manager Client Tools 15mgr-virtualization4.2.4-150000.1.26.1
SUSE Manager Client Tools 15prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE Manager Client Tools 15prometheus-postgres_exporter0.10.0-150000.1.3.1
SUSE Manager Client Tools 15rhnlib4.2.6-150000.3.34.1
SUSE Manager Client Tools 15spacecmd4.2.16-150000.3.77.1
SUSE Manager Client Tools 15spacecmd4.3.16-150000.3.89.1
SUSE Manager Client Tools 15spacewalk-client-tools4.2.18-150000.3.59.1
SUSE Manager Client Tools 15spacewalk-client-tools4.3.13-150000.3.71.3
SUSE Manager Client Tools 15spacewalk-koan4.2.6-150000.3.27.1
SUSE Manager Client Tools 15spacewalk-oscap4.2.4-150000.3.18.1
SUSE Manager Client Tools 15suseRegisterInfo4.2.6-150000.3.21.1
SUSE Manager Client Tools 15uyuni-proxy-systemd-services4.3.7-150000.1.9.3
SUSE Manager Client Tools 15-BETAansible2.9.27-159000.3.9.1
SUSE Manager Client Tools 15-BETAdracut-saltboot0.1.1681904360.84ef141-159000.3.30.1
SUSE Manager Client Tools 15-BETAgolang-github-QubitProducts-exporter_exporter0.4.0-159000.4.6.1
SUSE Manager Client Tools 15-BETAgolang-github-boynux-squid_exporter1.6-159000.4.9.1
SUSE Manager Client Tools 15-BETAgolang-github-lusitaniae-apache_exporter1.0.0-159000.4.12.1
SUSE Manager Client Tools 15-BETAgolang-github-prometheus-prometheus2.45.0-159000.6.33.1
SUSE Manager Client Tools 15-BETAgrafana9.5.8-159000.4.24.1
SUSE Manager Client Tools 15-BETAmgr-push5.0.1-159000.4.21.1
SUSE Manager Client Tools 15-BETAprometheus-blackbox_exporter0.24.0-159000.3.6.1
SUSE Manager Client Tools 15-BETAprometheus-postgres_exporter0.10.1-159000.3.6.1
SUSE Manager Client Tools 15-BETApython-hwdata2.3.5-159000.5.13.1
SUSE Manager Client Tools 15-BETApython-pyvmomi6.7.3-159000.3.6.1
SUSE Manager Client Tools 15-BETArhnlib5.0.1-159000.6.30.1
SUSE Manager Client Tools 15-BETAspacecmd5.0.1-159000.6.42.1
SUSE Manager Client Tools 15-BETAspacewalk-client-tools5.0.1-159000.6.48.1
SUSE Manager Client Tools 15-BETAsupportutils-plugin-salt1.2.2-159000.5.9.1
SUSE Manager Client Tools 15-BETAsupportutils-plugin-susemanager-client5.0.1-159000.6.15.1
SUSE Manager Client Tools 15-BETAuyuni-common-libs5.0.1-159000.3.33.1
SUSE Manager Client Tools 15-BETAuyuni-proxy-systemd-services5.0.1-159000.3.9.1
SUSE Manager Client Tools Beta for SLE Micro 5dracut-saltboot0.1.1681904360.84ef141-159000.3.30.1
SUSE Manager Client Tools Beta for SLE Micro 5golang-github-QubitProducts-exporter_exporter0.4.0-159000.4.6.1
SUSE Manager Client Tools Beta for SLE Micro 5prometheus-blackbox_exporter0.24.0-159000.3.6.1
SUSE Manager Client Tools Beta for SLE Micro 5uyuni-proxy-systemd-services5.0.1-159000.3.9.1
SUSE Manager Client Tools for SLE Micro 5dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
SUSE Manager Client Tools for SLE Micro 5prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE Manager Client Tools for SLE Micro 5uyuni-proxy-systemd-services4.3.7-150000.1.9.3
SUSE Manager Proxy Module 4.2golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE Manager Proxy Module 4.2prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE Manager Proxy Module 4.3golang-github-boynux-squid_exporter1.6-150000.1.9.1
SUSE Manager Proxy Module 4.3prometheus-blackbox_exporter0.19.0-150000.1.14.3
SUSE Manager Server Module 4.2prometheus-postgres_exporter0.10.0-150000.1.3.1
SUSE OpenStack Cloud 8golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE OpenStack Cloud 9golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE OpenStack Cloud 9openssl-1_11.1.1d-2.36.2
SUSE OpenStack Cloud Crowbar 8golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE OpenStack Cloud Crowbar 9golang-github-prometheus-node_exporter1.3.0-1.15.3
SUSE OpenStack Cloud Crowbar 9openssl-1_11.1.1d-2.36.2
Ubuntu 18.04 LTSopenssl1.1.1-1ubuntu2.1~18.04.13
Ubuntu 20.04 LTSopenssl1.1.1f-1ubuntu2.8
Ubuntu 22.04 LTSopenssl1.1.1l-1ubuntu1
Ubuntu Pro FIPS-updates 18.04 LTSopenssl1.1.1-1ubuntu2.fips.2.1~18.04.13.2
Ubuntu Pro FIPS-updates 20.04 LTSopenssl1.1.1f-1ubuntu2.fips.7.2
Ubuntu Pro FIPS 18.04 LTSopensslno fix
Ubuntu Pro FIPS 20.04 LTSopensslno fix
openSUSE Leap 15.2openssl-1_11.1.1d-lp152.7.21.1
openSUSE Leap 15.3dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
openSUSE Leap 15.3golang-github-boynux-squid_exporter1.6-150000.1.9.1
openSUSE Leap 15.3golang-github-prometheus-promu0.13.0-150000.3.9.1
openSUSE Leap 15.3grafana8.5.13-150200.3.29.5
openSUSE Leap 15.3grafana8.3.5-150200.3.21.1
openSUSE Leap 15.3openssl-1_11.1.1d-11.27.1
openSUSE Leap 15.3prometheus-postgres_exporter0.10.0-150000.1.3.1
openSUSE Leap 15.3rhnlib4.2.6-150000.3.34.1
openSUSE Leap 15.3spacecmd4.3.16-150000.3.89.1
openSUSE Leap 15.3spacecmd4.2.16-150000.3.77.1
openSUSE Leap 15.4dracut-saltboot0.1.1665997480.587fa10-150000.1.41.1
openSUSE Leap 15.4golang-github-boynux-squid_exporter1.6-150000.1.9.1
openSUSE Leap 15.4golang-github-prometheus-promu0.13.0-150000.3.9.1
openSUSE Leap 15.4grafana8.3.5-150200.3.21.1
openSUSE Leap 15.4grafana8.5.13-150200.3.29.5
openSUSE Leap 15.4prometheus-blackbox_exporter0.19.0-150000.1.14.3
openSUSE Leap 15.4spacecmd4.3.16-150000.3.89.1
openSUSE Leap 15.4wire0.5.0-150000.1.9.3
openSUSE Tumbleweedgrafana8.3.4-1.1
openSUSE Tumbleweedgrype0.92.1-1.1
openSUSE Tumbleweedopenssl-1_11.1.1l-1.2