SSL_select_next_proto buffer overread (CVE-2024-5535)
Published Last modified Sources: Siemens ProductCERT, BSI, CVE.org, Red Hat, Msrc Update Guide, EUVD, Ubuntu
What is affected, what to do
Issue summary: Calling the OpenSSL API function SSL_select_next_proto with an empty supported client protocols buffer may cause a crash or memory contents to be sent to the peer. Impact summary: A buffer overread can have a range of potential consequences such as unexpected application beahviour or a crash.
Update OpenSSL to version 3.3.2, OpenSSL to version 3.2.3, OpenSSL to version 3.1.7.
- Affected
- OpenSSL
lt 3.3.0..3.3.2 - OpenSSL
lt 3.2.0..3.2.3 - OpenSSL
lt 3.1.0..3.1.7 - OpenSSL
lt 3.0.0..3.0.15 - OpenSSL
lt 1.1.1..1.1.1za - OpenSSL
lt 1.0.2..1.0.2zk
- OpenSSL
- Fixed in
- OpenSSL
3.3.2 - OpenSSL
3.2.3 - OpenSSL
3.1.7 - OpenSSL
3.0.15 - OpenSSL
1.1.1za - OpenSSL
1.0.2zk
- OpenSSL
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.1
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.1
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: Siemens ProductCERT, BSI, CVE.org, Red Hat, Msrc Update Guide, EUVD, Ubuntu
5.6 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 92.9
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 120.03 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.1 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.1
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 5.6 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 92.9
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
- CISA assessment (SSVC)
- Exploitation: none known · automatable · Technical impact: partial
- Source: CISA Vulnrichment, as of 8 November 2024
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-125
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
Issue summary: Calling the OpenSSL API function SSL_select_next_proto with an empty supported client protocols buffer may cause a crash or memory contents to be sent to the peer. Impact summary: A buffer overread can have a range of potential consequences such as unexpected application beahviour or a crash. In particular this issue could result in up to 255 bytes of arbitrary private data from memory being sent to the peer leading to a loss of confidentiality. However, only applications that directly call the SSL_select_next_proto function with a 0 length list of supported client protocols are affected by this issue. This would normally never be a valid scenario and is typically not under attacker control but may occur by accident in the case of a configuration or programming error in the calling application. The OpenSSL API function SSL_select_next_proto is typically used by TLS applications that support ALPN (Application Layer Protocol Negotiation) or NPN (Next Protocol Negotiation). NPN is older, was never standardised and is deprecated in favour of ALPN. We believe that ALPN is significantly more widely deployed than NPN. The SSL_select_next_proto function accepts a list of protocols from the server and a list of protocols from the client and returns the first protocol that appears in the server list that also appears in the client list. In the case of no overlap between the two lists it returns the first item in the client list. In either case it will signal whether an overlap between the two lists was found. In the case where SSL_select_next_proto is called with a zero length client list it fails to notice this condition and returns the memory immediately following the client list pointer (and reports that there was no overlap in the lists). This function is typically called from a server side application callback for ALPN or a client side application callback for NPN. In the case of ALPN the list of protocols supplied by the client is guaranteed by libssl to never be zero in length. The list of server protocols comes from the application and should never normally be expected to be of zero length. In this case if the SSL_select_next_proto function has been called as expected (with the list supplied by the client passed in the client/client_len parameters), then the application will not be vulnerable to this issue. If the application has accidentally been configured with a zero length server list, and has accidentally passed that zero length server list in the client/client_len parameters, and has additionally failed to correctly handle a "no overlap" response (which would normally result in a handshake failure in ALPN) then it will be vulnerable to this problem. In the case of NPN, the protocol permits the client to opportunistically select a protocol when there is no overlap. OpenSSL returns the first client protocol in the no overlap case in support of this. The list of client protocols comes from the application and should never normally be expected to be of zero length. However if the SSL_select_next_proto function is accidentally called with a client_len of 0 then an invalid memory pointer will be returned instead. If the application uses this output as the opportunistic protocol then the loss of confidentiality will occur. This issue has been assessed as Low severity because applications are most likely to be vulnerable if they are using NPN instead of ALPN - but NPN is not widely used. It also requires an application configuration or programming error. Finally, this issue would not typically be under attacker control making active exploitation unlikely. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. Due to the low severity of this issue we are not issuing new releases of OpenSSL at this time. The fix will be included in the next releases when they become available.
Source: siemens_advisory, BSI CSAF, BSI WID Portal, cvelistv5, NVD (NIST), redhat_csaf, Microsoft Security Update Guide, CVE.org (MITRE), ENISA EUVD, Ubuntu Security Notices
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| OpenSSL | OpenSSL |
|
|
| Dell | NetWorker |
|
|
| Dell | PowerEdge |
|
|
| Dell | PowerProtect Data Domain |
|
|
| Dell | PowerScale OneFS |
|
|
| Hitachi | Ops Center |
|
|
| HPE | HP-UX OpenSSL Software |
|
|
| IBM | AIX |
|
|
| IBM | App Connect Enterprise |
|
|
| IBM | Cognos Analytics |
|
|
| IBM | InfoSphere Information Server |
|
|
| IBM | Power Hardware Management Console |
|
|
| IBM | QRadar SIEM |
|
|
| IBM | Rational Build Forge |
|
|
| IBM | Rational ClearCase |
|
|
| IBM | Rational ClearQuest |
|
|
| IBM | Security Guardium |
|
|
| IBM | Spectrum Protect Plus |
|
|
| IBM | Storage Scale System |
|
|
| IBM | VIOS |
|
|
| Insyde | UEFI Firmware |
|
|
| Open Source | OpenSSL |
|
|
| Oracle | Communications |
|
|
Vendors and products
- Dell Dell NetWorker
- Dell Dell PowerEdge
- Dell Powerprotect Data Domain
- Dell Powerscale Onefs
- Hitachi Ops Center
- Hewlett Packard Enterprise (HPE) Hp-ux Openssl Software
- IBM IBM AIX
- IBM App Connect Enterprise
- IBM Cognos Analytics
- IBM IBM InfoSphere Information Server
- IBM Power Hardware Management Console
- IBM Qradar Siem
Affected operating systems
| Linux | ubuntu | openssl | focal |
| Linux | ubuntu | openssl | jammy |
| Linux | ubuntu | openssl | noble |
Weakness classes (CWE)
CWE-125Out-of-bounds Read
Base
The product reads data past the end, or before the beginning, of the intended buffer.
Entry at MITRE CWE-125
References & sources
- openssl.orgOpenSSL AdvisoryVendor advisory
- github.com3.3.2 git commitPatch
- github.com3.2.3 git commitPatch
- github.com3.1.7 git commitPatch
- github.com3.0.15 git commitPatch
- github.openssl.org1.1.1za git commitPatch
- github.openssl.org1.0.2zk git commitPatch
- openwall.comlists/oss-security/2024/06/27/1x_transferred
- openwall.comlists/oss-security/2024/06/28/4x_transferred
- security.netapp.comadvisory/ntap-20240712-0005x_transferred
- openwall.comlists/oss-security/2024/08/15/1
- lists.debian.orgdebian-lts-announce/2024/11/msg00000.html
- lists.debian.orgdebian-lts-announce/2024/10/msg00033.html
- security.netapp.comadvisory/ntap-20241025-0010
- security.netapp.comadvisory/ntap-20241025-0006
- Siemens ProductCERTproductcert/html/ssa-398330.html
- Siemens ProductCERTproductcert/html/ssa-265688.html
- Siemens ProductCERTproductcert/html/ssa-915275.html
- Siemens ProductCERTproductcert/html/ssa-769027.html
- Siemens ProductCERTproductcert/html/ssa-277137.html
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedopenssl.org
New references:- https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37
- https://github.com/openssl/openssl/commit/99fb785a5f85315b95288921a321a935ea29a51e
- https://github.com/openssl/openssl/commit/cf6f91f6121f4db167405db2f0de410a456f260c
- https://github.com/openssl/openssl/commit/e86ac436f0bd54d4517745483e2315650fae7b2c
and 3 more references
Show 14 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37Reference added —https://github.com/openssl/openssl/commit/99fb785a5f85315b95288921a321a935ea29a51eReference added —https://github.com/openssl/openssl/commit/cf6f91f6121f4db167405db2f0de410a456f260cReference added —https://github.com/openssl/openssl/commit/e86ac436f0bd54d4517745483e2315650fae7b2cReference added —https://github.openssl.org/openssl/extended-releases/commit/9947251413065a05189a63c9b7a6c1d4e224c21cReference added —https://github.openssl.org/openssl/extended-releases/commit/b78ec0824da857223486660177d3b1f255c65d87Reference added —https://www.openssl.org/news/secadv/20240627.txtReference removed https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37—Reference removed https://github.com/openssl/openssl/commit/99fb785a5f85315b95288921a321a935ea29a51e—Reference removed https://github.com/openssl/openssl/commit/cf6f91f6121f4db167405db2f0de410a456f260c—Reference removed https://github.com/openssl/openssl/commit/e86ac436f0bd54d4517745483e2315650fae7b2c—Reference removed https://github.openssl.org/openssl/extended-releases/commit/9947251413065a05189a63c9b7a6c1d4e224c21c—Reference removed https://github.openssl.org/openssl/extended-releases/commit/b78ec0824da857223486660177d3b1f255c65d87—Reference removed https://www.openssl.org/news/secadv/20240627.txt—Source identifier: openssl-security@openssl.org
Record modifiedCVE Program
Show 30 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://www.openwall.com/lists/oss-security/2024/06/27/1Reference added —http://www.openwall.com/lists/oss-security/2024/06/28/4Reference added —http://www.openwall.com/lists/oss-security/2024/08/15/1Reference added —https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37Reference added —https://github.com/openssl/openssl/commit/99fb785a5f85315b95288921a321a935ea29a51eReference added —https://github.com/openssl/openssl/commit/cf6f91f6121f4db167405db2f0de410a456f260cReference added —https://github.com/openssl/openssl/commit/e86ac436f0bd54d4517745483e2315650fae7b2cReference added —https://github.openssl.org/openssl/extended-releases/commit/9947251413065a05189a63c9b7a6c1d4e224c21cReference added —https://github.openssl.org/openssl/extended-releases/commit/b78ec0824da857223486660177d3b1f255c65d87Reference added —https://lists.debian.org/debian-lts-announce/2024/10/msg00033.htmlReference added —https://lists.debian.org/debian-lts-announce/2024/11/msg00000.htmlReference added —https://security.netapp.com/advisory/ntap-20240712-0005/Reference added —https://security.netapp.com/advisory/ntap-20241025-0006/Reference added —https://security.netapp.com/advisory/ntap-20241025-0010/Reference added —https://www.openssl.org/news/secadv/20240627.txtReference removed http://www.openwall.com/lists/oss-security/2024/06/27/1—Reference removed http://www.openwall.com/lists/oss-security/2024/06/28/4—Reference removed http://www.openwall.com/lists/oss-security/2024/08/15/1—Reference removed https://github.com/openssl/openssl/commit/4ada436a1946cbb24db5ab4ca082b69c1bc10f37—Reference removed https://github.com/openssl/openssl/commit/99fb785a5f85315b95288921a321a935ea29a51e—Reference removed https://github.com/openssl/openssl/commit/cf6f91f6121f4db167405db2f0de410a456f260c—Reference removed https://github.com/openssl/openssl/commit/e86ac436f0bd54d4517745483e2315650fae7b2c—Reference removed https://github.openssl.org/openssl/extended-releases/commit/9947251413065a05189a63c9b7a6c1d4e224c21c—Reference removed https://github.openssl.org/openssl/extended-releases/commit/b78ec0824da857223486660177d3b1f255c65d87—Reference removed https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html—Reference removed https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html—Reference removed https://security.netapp.com/advisory/ntap-20240712-0005/—Reference removed https://security.netapp.com/advisory/ntap-20241025-0006/—Reference removed https://security.netapp.com/advisory/ntap-20241025-0010/—Reference removed https://www.openssl.org/news/secadv/20240627.txt—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Record modifiedSiemens ADP
Show 13 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2024/5xxx/CVE-2024-5535.json">CVE-2024-5535</a>Reference added —https://cert-portal.siemens.com/productcert/html/ssa-265688.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-277137.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-613116.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-769027.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-915275.htmlReference removed https://cert-portal.siemens.com/productcert/html/ssa-265688.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-277137.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-398330.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-613116.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-769027.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-915275.html—Source identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2024-5535"><img src="https://intel.neosec.eu/badge/cve/CVE-2024-5535.svg?lang=en" alt="CVE-2024-5535 – NEOSEC Intel" height="20"></a>