CVE-2024-9143
Fixed in a distro release EPSS 6%CVSS 4.3
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.
Products: OpenSSL, Siemens SIDIS Prime, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.17 | openssl | 3.0.15-r1 |
| Alpine 3.18 | openssl | 3.1.7-r1 |
| Alpine 3.19 | openssl | 3.1.7-r1 |
| Alpine 3.20 | openssl | 3.3.2-r1 |
| Alpine 3.21 | openssl | 3.3.2-r3 |
| Alpine 3.22 | openssl | 3.3.2-r3 |
| Alpine 3.23 | openssl | 3.3.2-r3 |
| Alpine 3.24 | openssl | 3.3.2-r3 |
| Chainguard | libcrypto3 | 3.3.3-r0 |
| Chainguard | libcrypto3-2.34 | 3.3.3-r0 |
| Chainguard | openssl | 3.3.3-r0 |
| Chainguard | openssl-engine-capi | 3.3.2-r2 |
| Chainguard | openssl-provider-fips | 3.0.9-r1 |
| Chainguard | openssl-provider-fips-3.1.2 | 0 |
| Chainguard | openssl-provider-fips-3.1.2-dbg | 0 |
| Debian 11 | openssl | 1.1.1w-0+deb11u2 |
| Debian 11 | openssl | 1.1.1n-0+deb11u6 |
| Debian 12 | openssl | 3.0.15-1~deb12u1 |
| Debian 13 | openssl | 3.3.2-2 |
| Debian 14 | openssl | 3.3.2-2 |
| Ubuntu 20.04 LTS | openssl | 1.1.1f-1ubuntu2.24 |
| Ubuntu 22.04 LTS | edk2 | 2022.02-3ubuntu0.22.04.4 |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.19 |
| Ubuntu 24.04 LTS | edk2 | 2024.02-2ubuntu0.6 |
| Ubuntu 24.04 LTS | openssl | 3.0.13-0ubuntu3.5 |
| Ubuntu 24.10 | openssl | 3.3.1-2ubuntu2.1 |
| Ubuntu Pro 14.04 LTS | openssl | no fix |
| Ubuntu Pro 16.04 LTS | edk2 | no fix |
| Ubuntu Pro 16.04 LTS | nodejs | no fix |
| Ubuntu Pro 16.04 LTS | openssl | no fix |
| Ubuntu Pro 18.04 LTS | edk2 | no fix |
| Ubuntu Pro 18.04 LTS | nodejs | no fix |
| Ubuntu Pro 18.04 LTS | openssl | no fix |
| Ubuntu Pro 18.04 LTS | openssl1.0 | no fix |
| Ubuntu Pro 20.04 LTS | edk2 | no fix |
| Ubuntu Pro 22.04 LTS | nodejs | no fix |
| Ubuntu Pro FIPS-preview 22.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS-preview 22.04 LTS | openssl-fips | no fix |
| Ubuntu Pro FIPS-updates 16.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS-updates 18.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS-updates 20.04 LTS | openssl | 1.1.1f-1ubuntu2.fips.24 |
| Ubuntu Pro FIPS-updates 22.04 LTS | openssl | 3.0.2-0ubuntu1.19+Fips1 |
| Ubuntu Pro FIPS-updates 22.04 LTS | openssl-fips | no fix |
| Ubuntu Pro FIPS-updates 24.04 LTS | openssl-fips | 3.0.13-0ubuntu3.6+Fips1 |
| Ubuntu Pro FIPS 16.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS 18.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS 20.04 LTS | openssl | no fix |
| Wolfi | libcrypto3 | 3.3.3-r0 |
| Wolfi | openssl | 3.3.3-r0 |
| Wolfi | openssl-engine-capi | 3.3.2-r2 |
| openSUSE Tumbleweed | openssl-3 | 3.1.4-15.1 |