Upstream information

CVE-2021-3711 at MITRE

Description

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).

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having critical severity.

CVSS v3 Scores
  SUSE
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entries: 1189520 [RESOLVED / FIXED], 1190129 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container caasp/v4.5/kube-apiserver:v1.18.20
Container caasp/v4.5/kube-controller-manager:v1.18.20
Container caasp/v4.5/kube-proxy:v1.18.20
Container caasp/v4.5/kube-scheduler:v1.18.20
Image caasp45/caasp-389-ds-image
Image caasp45/caasp-busybox-image
Image caasp45/caasp-caasp-dex-image
Image caasp45/caasp-cert-manager-cainjector-image
Image caasp45/caasp-cert-manager-controller-image
Image caasp45/caasp-cert-manager-webhook-image
Image caasp45/caasp-cilium-etcd-operator-image
Image caasp45/caasp-cilium-image
Image caasp45/caasp-cilium-operator-image
Image caasp45/caasp-configmap-reload-image
Image caasp45/caasp-coredns-image
Image caasp45/caasp-curl-image
Image caasp45/caasp-default-http-backend-image
Image caasp45/caasp-etcd-image
Image caasp45/caasp-gangway-image
Image caasp45/caasp-grafana-image
Image caasp45/caasp-helm-tiller-image
Image caasp45/caasp-ingress-nginx-controller-image
Image caasp45/caasp-istio-pilot-image
Image caasp45/caasp-istio-proxyv2-image
Image caasp45/caasp-kube-apiserver-image
Image caasp45/caasp-kube-controller-manager-image
Image caasp45/caasp-kube-proxy-image
Image caasp45/caasp-kube-scheduler-image
Image caasp45/caasp-kube-state-metrics-image
Image caasp45/caasp-kubernetes-client-image
Image caasp45/caasp-kucero-image
Image caasp45/caasp-kured-image
Image caasp45/caasp-metrics-server-image
Image caasp45/caasp-prometheus-alertmanager-image
Image caasp45/caasp-prometheus-node-exporter-image
Image caasp45/caasp-prometheus-pushgateway-image
Image caasp45/caasp-prometheus-server-image
Image caasp45/caasp-reloader-image
Image caasp45/caasp-rsyslog-image
Image caasp45/caasp-skuba-tooling-image
Image caasp45/caasp-velero-image
Image caasp45/caasp-velero-plugin-for-aws-image
Image caasp45/caasp-velero-plugin-for-gcp-image
Image caasp45/caasp-velero-plugin-for-microsoft-azure-image
Image caasp45/caasp-velero-restic-restore-helper-image
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac >= 1.1.1d-11.27.1
Container suse/sle15:15.2
Container suse/sle15:15.3
Image caasp45/caasp-istio-base-image
Image caasp45/caasp-k8s-sidecar-image
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
Image SLES15-SP2-CHOST-BYOS-Aliyun
Image SLES15-SP2-CHOST-BYOS-Azure
Image SLES15-SP2-CHOST-BYOS-EC2
Image SLES15-SP2-CHOST-BYOS-GCE
Image SLES15-SP3-CHOST-BYOS-Aliyun
Image SLES15-SP3-CHOST-BYOS-Azure
Image SLES15-SP3-CHOST-BYOS-EC2
Image SLES15-SP3-CHOST-BYOS-GCE
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • libopenssl-1_1-devel >= 1.1.1d-11.27.1
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • libopenssl1_1-32bit >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac-32bit >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-2830
SUSE Linux Enterprise Module for Basesystem 15 SP3
  • libopenssl-1_1-devel >= 1.1.1d-11.27.1
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • libopenssl1_1-32bit >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac-32bit >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP3-2021-2830
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • libopenssl-1_1-devel-32bit >= 1.1.1d-11.27.1
  • openssl-1_1-doc >= 1.1.1d-11.27.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2021-2830
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP3
  • libopenssl-1_1-devel-32bit >= 1.1.1d-11.27.1
  • openssl-1_1-doc >= 1.1.1d-11.27.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP3-2021-2830
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2021-2833
SUSE Linux Enterprise Server 12 SP4-LTSS
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2021-2833
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-SLE-SERVER-12-SP5-2021-2833
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-SLE-SAP-12-SP4-2021-2833
SUSE Linux Enterprise Software Development Kit 12 SP5
  • libopenssl-1_1-devel >= 1.1.1d-2.36.2
  • libopenssl-1_1-devel-32bit >= 1.1.1d-2.36.2
Patchnames:
SUSE-SLE-SDK-12-SP5-2021-2833
SUSE MicroOS 5.0
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
Patchnames:
SUSE-SUSE-MicroOS-5.0-2021-2830
SUSE OpenStack Cloud 9
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-OpenStack-Cloud-9-2021-2833
SUSE OpenStack Cloud Crowbar 9
  • libopenssl1_1 >= 1.1.1d-2.36.2
  • libopenssl1_1-32bit >= 1.1.1d-2.36.2
  • openssl-1_1 >= 1.1.1d-2.36.2
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2021-2833
openSUSE Leap 15.2
  • libopenssl-1_1-devel >= 1.1.1d-lp152.7.21.1
  • libopenssl-1_1-devel-32bit >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1 >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1-32bit >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1-32bit-debuginfo >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1-debuginfo >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1-hmac >= 1.1.1d-lp152.7.21.1
  • libopenssl1_1-hmac-32bit >= 1.1.1d-lp152.7.21.1
  • openssl-1_1 >= 1.1.1d-lp152.7.21.1
  • openssl-1_1-debuginfo >= 1.1.1d-lp152.7.21.1
  • openssl-1_1-debugsource >= 1.1.1d-lp152.7.21.1
  • openssl-1_1-doc >= 1.1.1d-lp152.7.21.1
Patchnames:
openSUSE-2021-1188
openSUSE Leap 15.3
  • libopenssl-1_1-devel >= 1.1.1d-11.27.1
  • libopenssl-1_1-devel-32bit >= 1.1.1d-11.27.1
  • libopenssl1_1 >= 1.1.1d-11.27.1
  • libopenssl1_1-32bit >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac >= 1.1.1d-11.27.1
  • libopenssl1_1-hmac-32bit >= 1.1.1d-11.27.1
  • openssl-1_1 >= 1.1.1d-11.27.1
  • openssl-1_1-doc >= 1.1.1d-11.27.1
Patchnames:
openSUSE-SLE-15.3-2021-2830
openSUSE Tumbleweed
  • libopenssl-1_1-devel >= 1.1.1l-1.2
  • libopenssl-1_1-devel-32bit >= 1.1.1l-1.2
  • libopenssl1_1 >= 1.1.1l-1.2
  • libopenssl1_1-32bit >= 1.1.1l-1.2
  • libopenssl1_1-hmac >= 1.1.1l-1.2
  • openssl-1_1 >= 1.1.1l-1.2
  • openssl-1_1-doc >= 1.1.1l-1.2
Patchnames:
openSUSE Tumbleweed GA libopenssl-1_1-devel-1.1.1l-1.2


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
Carwos 1 openssl Released
Carwos 1 openssl-1_1 Released
HPE Helion OpenStack 8 openssl Not affected
SUSE CaaS Platform 4.0 openssl Not affected
SUSE CaaS Platform 4.0 openssl-1_0_0 Not affected
SUSE CaaS Platform 4.0 openssl-1_1 Not affected
SUSE Enterprise Storage 6 openssl Not affected
SUSE Enterprise Storage 6 openssl-1_0_0 Not affected
SUSE Enterprise Storage 6 openssl-1_1 Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 openssl In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 openssl-1_0_0 In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 openssl-1_1 Released
SUSE Linux Enterprise High Performance Computing 15 LTSS openssl Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS openssl-1_1 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS openssl Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS openssl-1_1 Not affected
SUSE Linux Enterprise Micro 5.0 openssl-1_1 Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 openssl In progress
SUSE Linux Enterprise Module for Basesystem 15 SP2 openssl-1_1 Released
SUSE Linux Enterprise Module for Basesystem 15 SP3 openssl-1_1 Released
SUSE Linux Enterprise Module for Legacy 12 compat-openssl098 Not affected
SUSE Linux Enterprise Module for Legacy 15 SP2 openssl-1_0_0 Not affected
SUSE Linux Enterprise Point of Service 11 SP3 openssl Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS openssl Not affected
SUSE Linux Enterprise Server 12 SP2 BCL openssl Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON openssl Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS SAP openssl Not affected
SUSE Linux Enterprise Server 12 SP3 BCL openssl Not affected
SUSE Linux Enterprise Server 12 SP3 ESPOS openssl Not affected
SUSE Linux Enterprise Server 12 SP3 LTSS openssl Not affected
SUSE Linux Enterprise Server 12 SP4 ESPOS openssl In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS openssl-1_0_0 In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS openssl-1_1 Released
SUSE Linux Enterprise Server 12 SP4 LTSS openssl In progress
SUSE Linux Enterprise Server 12 SP4 LTSS openssl-1_0_0 In progress
SUSE Linux Enterprise Server 12 SP4 LTSS openssl-1_1 Released
SUSE Linux Enterprise Server 12 SP5 openssl In progress
SUSE Linux Enterprise Server 12 SP5 openssl-1_0_0 In progress
SUSE Linux Enterprise Server 12 SP5 openssl-1_1 Released
SUSE Linux Enterprise Server 15 LTSS openssl Not affected
SUSE Linux Enterprise Server 15 LTSS openssl-1_0_0 Not affected
SUSE Linux Enterprise Server 15 LTSS openssl-1_1 Not affected
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux openssl Not affected
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux openssl-1_0_0 Not affected
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux openssl-1_1 Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS openssl Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS openssl-1_0_0 Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS openssl-1_1 Not affected
SUSE Linux Enterprise Server ESPOS 15 openssl Not affected
SUSE Linux Enterprise Server ESPOS 15 openssl-1_1 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 compat-openssl098 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 openssl Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 compat-openssl098 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 openssl In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 openssl-1_0_0 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 openssl-1_1 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 compat-openssl098 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 openssl In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 openssl-1_0_0 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 openssl-1_1 In progress
SUSE Linux Enterprise Server for SAP Applications 15 openssl Not affected
SUSE Linux Enterprise Server for SAP Applications 15 openssl-1_0_0 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 openssl-1_1 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 openssl Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 openssl-1_0_0 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 openssl-1_1 Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 openssl-1_1 Released
SUSE Manager Proxy 4.0 openssl Not affected
SUSE Manager Proxy 4.0 openssl-1_0_0 Not affected
SUSE Manager Proxy 4.0 openssl-1_1 Not affected
SUSE Manager Retail Branch Server 4.0 openssl Not affected
SUSE Manager Retail Branch Server 4.0 openssl-1_0_0 Not affected
SUSE Manager Retail Branch Server 4.0 openssl-1_1 Not affected
SUSE Manager Server 4.0 openssl Not affected
SUSE Manager Server 4.0 openssl-1_0_0 Not affected
SUSE Manager Server 4.0 openssl-1_1 Not affected
SUSE OpenStack Cloud 8 openssl Not affected
SUSE OpenStack Cloud 9 openssl In progress
SUSE OpenStack Cloud 9 openssl-1_0_0 In progress
SUSE OpenStack Cloud 9 openssl-1_1 Released
SUSE OpenStack Cloud Crowbar 8 openssl Not affected
SUSE OpenStack Cloud Crowbar 9 openssl In progress
SUSE OpenStack Cloud Crowbar 9 openssl-1_0_0 In progress
SUSE OpenStack Cloud Crowbar 9 openssl-1_1 Released
Security Module for SUSE Linux Enterprise 11 openssl1 Not affected