CVE-2024-9143
openssl: Low-level invalid GF(2^m) parameters lead to OOB memory access
Overview
Description
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-125, CWE-787
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | Openresty_jll | <1.29.203+0 | 1.29.203+0 |
| Julia | OpenSSL_jll | <3.0.16+0 | 3.0.16+0 |
Open a package to see all its vulnerabilities.
Operating systems · 45 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.16-1.ph4 |
| 5.0 | openssl +5 | 3.5.7-2.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | aavmf +2 | affected |
| 8 | edk2 +10 | affected |
| 9 | edk2 +10 | affected |
SUSE Linux Enterprise 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | nodejs24 +3 | 24.18.1-150700.15.18.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-devel +2 | 3.5.0-150700.3.4.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-3-devel +5 | 3.5.0-150700.5.45.2 | SUSE-SU-2026:3835-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.3.2-r3 |
| 3.23 | openssl | 3.3.2-r3 |
| 3.24 | openssl | 3.3.2-r3 |
| edge | openssl | 3.3.2-r3 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-1-2 | not affected | |
| openssl-provider-fips | 3.0.9-r1 | |
| libcrypto3-2-34 +1 | 3.3.3-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssl | 1.1.1w-0+deb11u2 |
| 12 | openssl | 3.0.15-1~deb12u1 |
| 13 | openssl | 3.3.2-2 |
| 14 | openssl | 3.3.2-2 |
echo 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.15-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.4.0-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.1.4-15.1 | openSUSE-SU-2024:14416-1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.3.2-r3 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1w-0+deb11u2 |
| 12 | rootio-openssl | 3.0.15-1~deb12u1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 | |
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.13-0ubuntu3.4+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | openssl | 1.1.1f-1ubuntu2.24 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.24 |
| 22.04 | edk2 | 2022.02-3ubuntu0.22.04.4 |
| 22.04 | openssl | 3.0.2-0ubuntu1.19 |
| 24.04 | edk2 | 2024.02-2ubuntu0.6 |
| 24.04 | openssl | 3.0.13-0ubuntu3.5 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.3.3-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/10/16/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/10/23/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/10/24/1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-9143
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-277137.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- github.com https://github.com/advisories/GHSA-q764-r57m-9wp9
- github.com https://github.com/openssl/openssl/commit/72ae83ad214d2eef262461365a1975707f862712
Show all 25 references
- github.com https://github.com/openssl/openssl/commit/bc7e04d7c8d509fb78fc0e285aa948fb0da04700
- github.com https://github.com/openssl/openssl/commit/c0d3e4d32d2805f49bec30547f225bc4d092e1f4
- github.com https://github.com/openssl/openssl/commit/fdf6723362ca51bd883295efe206cb5b1cfa5154
- github.openssl.org https://github.openssl.org/openssl/extended-releases/commit/8efc0cbaa8ebba8e116f7b81a876a4123594d86a
- github.openssl.org https://github.openssl.org/openssl/extended-releases/commit/9d576994cec2b7aa37a91740ea7e680810957e41
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-9143
- openssl-library.org https://openssl-library.org/news/secadv/20241016.txt
- security.netapp.com https://security.netapp.com/advisory/ntap-20241101-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20241101-0001/
- ubuntu.com https://ubuntu.com/security/notices/USN-7264-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7278-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-9143
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.