Patchfirst
CVE-2024-2511 Medium · 5.9 EPSS 59.3%

Unbounded memory growth with session handling in TLSv1.3

No fixed version listed yet.Check the vendor advisory. References ↓

OpenSSL · OpenSSL

Summary

OpenSSL's TLSv1.3 server-side session handling contains a flaw in which the session cache can enter an incorrect state and fail to flush as it fills, causing unbounded memory growth. An attacker with network access can trigger this remotely without authentication or user interaction, but only against TLS servers using the non-default SSL_OP_NO_TICKET option, and only in configurations without early_data support combined with the default anti-replay protection; the scenario can also arise accidentally during normal operation.

Official description · CVE.org

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.

Breakdown
25.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 8 Apr 2024. No public exploit code or confirmed exploitation is recorded.

See the family tree

8 related vulnerabilities in the same code over 9 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2014-3572The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL…9 Jan 2015
  2. relatedMedium

    Why these are linked:

    CVE-2015-0204The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL…9 Jan 2015
  3. relatedMedium

    Why these are linked:

    CVE-2015-0205The ssl3_get_cert_verify function in s3_srvr.c in OpenSSL 1.0.0…9 Jan 2015
  4. same family
    CVE-2015-1791Race condition in the ssl3_get_new_session_ticket function in…12 Jun 2015
  5. relatedMedium

    Why these are linked:

    CVE-2017-3733Encrypt-Then-Mac renegotiation crash4 May 2017
  6. same family
    CVE-2017-3737OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an…7 Dec 2017
  7. same family
    This CVECVE-2024-2511Unbounded memory growth with session handling in TLSv1.38 Apr 2024
  8. relatedMedium

    Why these are linked:

    CVE-2024-5535SSL_select_next_proto buffer overread27 Jun 2024

Affected versions and fixes

as published in the CVE record

OpenSSL OpenSSL

Affected: >= 3.2.0, < 3.2.2 · >= 3.1.0, < 3.1.6 · >= 3.0.0, < 3.0.14 · >= 1.1.1, < 1.1.1y

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

15 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close