CVE-2024-4741

EUVD-2024-44338
Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause
memory to be accessed that was previously freed in some situations

Impact summary: A use after free can have a range of potential consequences such
as the corruption of valid data, crashes or execution of arbitrary code.
However, only applications that directly call the SSL_free_buffers function are
affected by this issue. Applications that do not call this function are not
vulnerable. Our investigations indicate that this function is rarely used by
applications.

The SSL_free_buffers function is used to free the internal OpenSSL buffer used
when processing an incoming record from the network. The call is only expected
to succeed if the buffer is not currently in use. However, two scenarios have
been identified where the buffer is freed even when still in use.

The first scenario occurs where a record header has been received from the
network and processed by OpenSSL, but the full record body has not yet arrived.
In this case calling SSL_free_buffers will succeed even though a record has only
been partially processed and the buffer is still in use.

The second scenario occurs where a full record containing application data has
been received and processed by OpenSSL but the application has only read part of
this data. Again a call to SSL_free_buffers will succeed even though the buffer
is still in use.

While these scenarios could occur accidentally during normal operation a
malicious attacker could attempt to engineer a stituation where this occurs.
We are not aware of this issue being actively exploited.

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
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADPADP
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 46%
Affected Products (NVD)
VendorProductVersion
opensslopenssl
1.1.1y <
𝑥
< 1.1.1y
opensslopenssl
3.0.14 <
𝑥
< 3.0.14
opensslopenssl
3.1.6 <
𝑥
< 3.1.6
opensslopenssl
3.2.2 <
𝑥
< 3.2.2
opensslopenssl
3.3.1 <
𝑥
< 3.3.1
𝑥
= Vulnerable software versions
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
buster
postponed
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
needed
jammy
Fixed 2022.02-3ubuntu0.22.04.4
released
mantic
ignored
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.23
released
jammy
Fixed 3.0.2-0ubuntu1.17
released
mantic
ignored
noble
Fixed 3.0.13-0ubuntu3.2
released
oracular
Fixed 3.2.2-1ubuntu1
released
plucky
Fixed 3.2.2-1ubuntu1
released
questing
Fixed 3.2.2-1ubuntu1
released
trusty
needs-triage
xenial
needs-triage
openssl1.0
bionic
not-affected
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
nodejs
bionic
needs-triage
focal
not-affected
jammy
needed
mantic
not-affected
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
not-affected
xenial
needs-triage