Out-of-bounds Read in Openssl
CVE-2024-9143
Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial can lead to out-of-bounds memory reads or writes. Impact summary: Out of bound memory writes can lead to an application crash or even a possibility of a remote code execution, however, in all the protocols involving Elliptic Curve Cryptography that we're aware of, either only "named curves" are supported, or, if explicit curve parameters are supported, they specify an X9.62 encoding of binary (GF(2^m)) curves that can't represent problematic input values. Thus the likelihood of existence of a vulnerable application is low. In particular, the X9.62 encoding is used for ECC keys in X.509 certificates, so problematic inputs cannot occur in the context of processing X.509 certificates. Any problematic use-cases would have to be using an "exotic" curve encoding. The affected APIs include: EC_GROUP_new_curve_GF2m(), EC_GROUP_new_from_params(), and various supporting BN_GF2m_*() functions. Applications working with "exotic" explicit binary (GF(2^m)) curve parameters, that make it possible to represent invalid field polynomials with a zero constant term, via the above or similar APIs, may terminate abruptly as a result of reading or writing outside of array bounds. Remote code execution cannot easily be ruled out. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
Vulnerability class: Buffer Overflow
EPSS: 0.058 (92.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Openssl — versions 3.3.0, 3.2.0, 3.1.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- openssl-security@openssl.org (vendor-advisory)
- openssl-security@openssl.org (patch)
- openssl-security@openssl.org (patch)
- openssl-security@openssl.org (patch)
- openssl-security@openssl.org (patch)
- openssl-security@openssl.org (patch)
- openssl-security@openssl.org (patch)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-9143?
- CVE-2024-9143 is a medium-severity vulnerability in Openssl, classified under Out-of-bounds Read. CVSS score: 4.3/10. Published 2024-10-16.
- How severe is CVE-2024-9143?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-9143 known to be exploited?
- 14 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.