CVE-2024-2511
JSON

5.9medium

Unbounded memory growth with session handling in TLSv1.3

Severity
5.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
59.3% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openssl

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

Product or packageVersionsReported by
OpenSSL OpenSSLfrom 3.2.0 before 3.2.2, from 3.1.0 before 3.1.6, from 3.0.0 before 3.0.14, from 1.1.1 before 1.1.1y, from 1.1.1 up to 1.1.1xCVE List, NVD
debian debian_linux11.0NVD
netapp a700s_firmwareNot specifiedNVD
netapp active_iq_unified_managerNot specifiedNVD
netapp oncommand_workflow_automationNot specifiedNVD
netapp ontap_9Not specifiedNVD
netapp snapmanagerNot specifiedNVD
netapp h300s_firmwareNot specifiedNVD
netapp h500s_firmwareNot specifiedNVD
netapp h700s_firmwareNot specifiedNVD
netapp h410s_firmwareNot specifiedNVD
netapp h410c_firmwareNot specifiedNVD

Classification

CWE-1325

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Resumen del problema: algunas configuraciones de servidor TLS no predeterminadas pueden causar un crecimiento ilimitado de la memoria al procesar sesiones TLSv1.3. Resumen de impacto: un atacante puede explotar ciertas configuraciones del servidor para desencadenar un crecimiento ilimitado de la memoria que conduciría a una denegación de servicio. Este problema puede ocurrir en TLSv1.3 si se utiliza la opción SSL_OP_NO_TICKET no predeterminada (pero no si también se configura la compatibilidad con early_data y se utiliza la protección antirrepetición predeterminada). En este caso, bajo ciertas condiciones, el caché de la sesión puede entrar en un estado incorrecto y no se vaciará correctamente a medida que se llena. La caché de la sesión seguirá creciendo de forma ilimitada. Un cliente malintencionado podría crear deliberadamente el escenario para que este fallo fuerce una denegación de servicio. También puede ocurrir por accidente durante el funcionamiento normal. Este problema solo afecta a los servidores TLS que admiten TLSv1.3. No afecta a los clientes TLS. Los módulos FIPS en 3.2, 3.1 y 3.0 no se ven afectados por este problema. OpenSSL 1.0.2 tampoco se ve afectado por este problema.

References

https://www.openssl.org/news/secadv/20240408.txtvendor-advisory
https://github.com/openssl/openssl/commit/e9d7083e241670332e0443da0f0d4ffb52829f08patch
https://github.com/openssl/openssl/commit/7e4d731b1c07201ad9374c1cd9ac5263bdf35bcepatch
https://github.com/openssl/openssl/commit/b52867a9f618bb955bed2a3ce3db4d4f97ed8e5dpatch
https://github.openssl.org/openssl/extended-releases/commit/5f8d25770ae6437db119dfc951e207271a326640patch, permissions-required
http://www.openwall.com/lists/oss-security/2024/04/08/5mailing-list, third-party-advisory
https://security.netapp.com/advisory/ntap-20240503-0013/third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/11/msg00000.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/10/msg00033.htmlmailing-list, third-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlthird-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-265688.htmlthird-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-354112.htmlthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-2511 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-2511 changed 2026-11-06Public domain