CVE-2024-9143: Low-level invalid GF(2^m) parameters lead to OOB memory access
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: ECGROUPnewcurveGF2m(), ECGROUPnewfromparams(), and various supporting BNGF2m() 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.
Other sources
OpenSSL could allow a remote attacker to execute arbitrary code on the system, caused by an out-of-bounds memory read or write flaw due to the use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code or cause the application to crash.
— IBM
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-9143?
CVE-2024-9143 is considered a high severity vulnerability due to its potential for causing out-of-bounds memory writes that can lead to application crashes.
How do I fix CVE-2024-9143?
To fix CVE-2024-9143, ensure that you use the updated version of OpenSSL that addresses this vulnerability.
What systems are affected by CVE-2024-9143?
CVE-2024-9143 affects OpenSSL specifically in its implementation of low-level GF(2^m) elliptic curve APIs.
What are the risks of CVE-2024-9143?
The risks associated with CVE-2024-9143 include possible application crashes and remote code execution due to out-of-bounds memory operations.
Is CVE-2024-9143 under active exploitation?
As of now, there are no reported instances of CVE-2024-9143 being actively exploited in the wild, but it is advisable to patch it promptly.