CVE-2024-9143

EUVD-2024-49755
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.3 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CISA-ADPADP
4.3 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 70%
Debian logo
Debian Releases
Debian Product
Codename
openssl
bookworm
3.0.17-1~deb12u2
fixed
bookworm (security)
3.0.17-1~deb12u3
fixed
bullseye
vulnerable
bullseye (security)
1.1.1w-0+deb11u4
fixed
forky
3.5.4-1
fixed
sid
3.5.4-1
fixed
trixie
3.5.4-1~deb13u1
fixed
trixie (security)
3.5.1-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
edk2
bionic
needs-triage
focal
needs-triage
jammy
Fixed 2022.02-3ubuntu0.22.04.4
released
noble
Fixed 2024.02-2ubuntu0.6
released
oracular
ignored
plucky
not-affected
questing
not-affected
xenial
needs-triage
openssl
bionic
needs-triage
focal
Fixed 1.1.1f-1ubuntu2.24
released
jammy
Fixed 3.0.2-0ubuntu1.19
released
noble
Fixed 3.0.13-0ubuntu3.5
released
oracular
Fixed 3.3.1-2ubuntu2.1
released
plucky
not-affected
questing
not-affected
trusty
needs-triage
xenial
needs-triage
openssl1.0
bionic
needs-triage
focal
dne
jammy
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
nodejs
bionic
needs-triage
focal
not-affected
jammy
needed
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
not-affected
xenial
needs-triage