CVE-2023-2650Possible DoS translating ASN.1 object identifiers
Issue summary: Processing some specially crafted ASN.1 object identifiers or data containing them may be very slow. Impact summary: Applications that use OBJ_obj2txt() directly, or use any of the OpenSSL subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS with no message size limit may experience notable to very long delays when processing those messages, which may lead to a Denial of Service. An OBJECT IDENTIFIER is composed of a series of numbers - sub-identifiers - most of which have no size limit. OBJ_obj2txt() may be used to translate an ASN.1 OBJECT IDENTIFIER given in DER encoding form (using the OpenSSL type ASN1_OBJECT) to its canonical numeric text form, which are the sub-identifiers of the OBJECT IDENTIFIER in decimal form, separated by periods. When one of the sub-identifiers in the OBJECT IDENTIFIER is very large (these are sizes that are seen as absurdly large, taking up tens or hundreds of KiBs), the translation to a decimal number in text may take a very long time. The time complexity is O(n^2) with 'n' being the size of the sub-identifiers in bytes (*). With OpenSSL 3.0, support to fetch cryptographic algorithms using names / identifiers in string form was introduced. This includes using OBJECT IDENTIFIERs in canonical numeric text form as identifiers for fetching algorithms. Such OBJECT IDENTIFIERs may be received through the ASN.1 structure AlgorithmIdentifier, which is commonly used in multiple protocols to specify what cryptographic algorithm should be used to sign or verify, encrypt or decrypt, or digest passed data. Applications that call OBJ_obj2txt() directly with untrusted data are affected, with any version of OpenSSL. If the use is for the mere purpose of display, the severity is considered low. In OpenSSL 3.0 and newer, this affects the subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS. It also impacts anything that processes X.509 certificates, including simple things like verifying its signature. The impact on TLS is relatively low, because all versions of OpenSSL have a 100KiB limit on the peer's certificate chain. Additionally, this only impacts clients, or servers that have explicitly enabled client authentication. In OpenSSL 1.1.1 and 1.0.2, this only affects displaying diverse objects, such as X.509 certificates. This is assumed to not happen in such a way that it would cause a Denial of Service, so these versions are considered not affected by this issue in such a way that it would be cause for concern, and the severity is therefore considered low.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Fixed | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2023-2650 |
| Ubuntu 22.04 | nodejs | Fixed | 12.22.9~dfsg-1ubuntu3.4 | UBUNTU-CVE-2023-2650 |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.10 | UBUNTU-CVE-2023-2650 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2023-2650 | |
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu2.19 | UBUNTU-CVE-2023-2650 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2023-2650 | |
| Ubuntu 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.23 | UBUNTU-CVE-2023-2650 |
| Ubuntu 18.04 | openssl1.0 | Fixed | 1.0.2n-1ubuntu5.13 | UBUNTU-CVE-2023-2650 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2023-2650 | |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm9 (Ubuntu Pro) | UBUNTU-CVE-2023-2650 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm9 (Ubuntu Pro) | UBUNTU-CVE-2023-2650 |
| Debian 14 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-2650 |
| Debian 13 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-2650 |
| Debian 12 | openssl | Fixed | 3.0.9-1 | DEBIAN-CVE-2023-2650 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2 | Fixed | 0:20230524-3.el9 | RHSA-2023:6330 |
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fixed | 0:20230524-3.el9 | RHSA-2023:6330 |
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fixed | 0:20230524-3.el9 | RHSA-2023:6330 |
| Red Hat Enterprise Linux 9 | edk2-tools | Fixed | 0:20230524-3.el9 | RHSA-2023:6330 |
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fixed | 0:20230524-3.el9 | RHSA-2023:6330 |
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | RHSA-2023:3722 |
| Red Hat Enterprise Linux 9 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | AAVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | OVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ovmf | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-static | Will not fix Out of support scope | ||
| AlmaLinux 9 | edk2-aarch64 | Fixed | 20230524-3.el9 | ALSA-2023:6330 |
| AlmaLinux 9 | edk2-ovmf | Fixed | 20230524-3.el9 | ALSA-2023:6330 |
| AlmaLinux 9 | edk2-tools | Fixed | 20230524-3.el9 | ALSA-2023:6330 |
| AlmaLinux 9 | edk2-tools-doc | Fixed | 20230524-3.el9 | ALSA-2023:6330 |
| AlmaLinux 9 | openssl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.7-16.el9_2 | ALSA-2023:3722 |
| Alpine Linux 3.24 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.23 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.22 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.21 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.20 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.19 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.18 | openssl | Fixed | 3.1.1-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.9-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1u-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.9-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1u-r0 | ALPINE-CVE-2023-2650 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.9-r0 | ALPINE-CVE-2023-2650 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.1.1 to before 3.1.1, 3.0.0 to before 3.0.9, 1.1.1 to before 1.1.1u, 1.0.2 to before 1.0.2zh; fixed in
3.1.1,3.0.9,1.1.1u,1.0.2zh
Vendor advisories:
- https://www.openssl.org/news/secadv/20230530.txt (vendor-advisory)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=db779b0e10b047f2585615e0b8f2… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=423a2bc737a908ad0c77bda470b2… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9e209944b35cf82368071f160a74… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=853c5e56ee0b8650c73140816bb8… (patch)
References
- https://www.openssl.org/news/secadv/20230530.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=db779b0e10b047f2585615e0b8f2acdf21f8544a
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=423a2bc737a908ad0c77bda470b2b59dc879936b
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9e209944b35cf82368071f160a744b6178f9b098
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=853c5e56ee0b8650c73140816bb8b91d6163422c
- http://www.openwall.com/lists/oss-security/2023/05/30/1
- https://www.debian.org/security/2023/dsa-5417
- https://lists.debian.org/debian-lts-announce/2023/06/msg00011.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0009
- https://security.netapp.com/advisory/ntap-20230703-0001/
- https://security.netapp.com/advisory/ntap-20231027-0009/
- https://security.gentoo.org/glsa/202402-08
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.