Vulnerability · Published Apr 8, 2024 · Assigned by openssl

CVE-2024-2511Unbounded memory growth with session handling in TLSv1.3

Medium 5.9

In plain English

A medium-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 52.4% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)52.4%top 1.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Issue summary: Some non-default TLS server configurations can cause unbounded memory growth when processing TLSv1.3 sessions Impact summary: An attacker may exploit certain server configurations to trigger unbounded memory growth that would lead to a Denial of Service This problem can occur in TLSv1.3 if the non-default SSL_OP_NO_TICKET option is being used (but not if early_data support is also configured and the default anti-replay protection is in use). In this case, under certain conditions, the session cache can get into an incorrect state and it will fail to flush properly as it fills. The session cache will continue to grow in an unbounded manner. A malicious client could deliberately create the scenario for this failure to force a Denial of Service. It may also happen by accident in normal operation. This issue only affects TLS servers supporting TLSv1.3. It does not affect TLS clients. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue. OpenSSL 1.0.2 is also not affected by this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9openssl1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux:9openssl-devel1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux:9openssl-libs1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux:9openssl-perl1:3.2.2-6.el9_5ALSA-2024:9333
Alpine:v3.20openssl3.2.1-r2ALPINE-CVE-2024-2511
Alpine:v3.21openssl3.2.1-r2ALPINE-CVE-2024-2511
Alpine:v3.22openssl3.2.1-r2ALPINE-CVE-2024-2511
Alpine:v3.23openssl3.2.1-r2ALPINE-CVE-2024-2511
Alpine:v3.24openssl3.2.1-r2ALPINE-CVE-2024-2511
Debian:12openssl3.0.14-1~deb12u1DEBIAN-CVE-2024-2511
Debian:13openssl3.2.2-1DEBIAN-CVE-2024-2511
Debian:14openssl3.2.2-1DEBIAN-CVE-2024-2511
Rocky Linux:9openssl1:3.2.2-6.el9_5.1RLSA-2024:9333
Rocky Linux:9openssl-fips-provider0:3.0.7-6.el9_5RLSA-2024:9333
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu:22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-2511
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6USN-7894-1
Ubuntu:24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-2511
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.17USN-6937-1
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.17UBUNTU-CVE-2024-2511
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.2USN-6937-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.2UBUNTU-CVE-2024-2511

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.2.0 – before 3.2.23.1.0 – before 3.1.63.0.0 – before 3.0.141.1.1 – before 1.1.1y

Weakness: CWE-1325 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References