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

Published Apr 8, 2024
·
Updated

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 SSLOPNOTICKET option is being used (but not if earlydata 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.

Other sources

Unbounded memory growth with session handling in TLSv1.3

Microsoft

Affected Software

20 affected componentsFixes available
debian/openssl<=1.1.1w-0+deb11u1, <=1.1.1n-0+deb11u5
3.0.14-1~deb12u13.0.14-1~deb12u23.3.2-1
F5 Traffix SDC=5.2.0
IBM Concert Software<=1.0.0-1.1.0
redhat/OpenSSL<3.2.2
3.2.2
redhat/OpenSSL<3.1.6
3.1.6
redhat/OpenSSL<3.0.14
3.0.14
redhat/OpenSSL<1.1.1
1.1.1
Microsoft azl3 openssl 3.3.0-1<3.3.0-1
3.3.0-1
Microsoft azl3 cloud-hypervisor-cvm 38.0.72-2<38.0.72.2-1
38.0.72.2-1
Microsoft azl3 nodejs 20.10.0-2<20.14.0-1
20.14.0-1
Microsoft azl3 nodejs 20.14.0-1<20.14.0-1
20.14.0-1
Microsoft cbl2 hvloader 1.0.1-5<1.0.1-6
1.0.1-6
Microsoft cbl2 cloud-hypervisor-cvm 38.0.72-1<38.0.72.2-1
38.0.72.2-1
Microsoft azl3 openssl 3.1.4-9<3.3.0-1
3.3.0-1
Microsoft azl3 edk2 20240524git3e722403cd16-8<20240524git3e722403cd16-8
20240524git3e722403cd16-8
Microsoft azl3 cloud-hypervisor-cvm 38.0.72.2-1<-
-
Microsoft cbl2 openssl 1.1.1k-30<1.1.1k-30
1.1.1k-30
Microsoft cbl2 cloud-hypervisor-cvm 38.0.72.2-1<-
-
Microsoft cbl2 openssl 1.1.1k-36<1.1.1k-30
1.1.1k-30
Microsoft cbl2 hvloader 1.0.1-6<1.0.1-6
1.0.1-6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.14-1~deb12u1Fixed in 3.0.14-1~deb12u2Fixed in 3.3.2-1
  2. Upgrade

    Upgrade redhat/OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.2.2
  3. Upgrade

    Upgrade redhat/OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.1.6
  4. Upgrade

    Upgrade redhat/OpenSSL to a version that resolves this vulnerability.

    Fixed in 3.0.14
  5. Upgrade

    Upgrade redhat/OpenSSL to a version that resolves this vulnerability.

    Fixed in 1.1.1
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 38.0.72.2-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.3.0-1
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.14.0-1
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.1-6
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20240524git3e722403cd16-8
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in -
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1.1k-30
  13. Configuration

    If using TLSv1.3, avoid the non-default SSL_OP_NO_TICKET option (this issue can occur when SSL_OP_NO_TICKET is being used; it is not stated to occur when early_data support is also configured and the default anti-replay protection is in use).

    OpenSSL TLS server (TLSv1.3) SSL_OP_NO_TICKET = not enabled
  14. Configuration

    If you need behavior consistent with the non-default SSL_OP_NO_TICKET scenario, ensure early_data support is also configured together with the default anti-replay protection in use, because the issue is described as not occurring under that condition.

    OpenSSL TLS server (TLSv1.3) early_data support = enabled
  15. Compensating control

    Limit or isolate access so that malicious clients cannot deliberately create the TLSv1.3 session-handling scenario that can lead to unbounded memory growth and Denial of Service (e.g., apply network controls/ACLs to restrict who can reach the TLS server).

Event History

Apr 8, 2024
CVE Published
via MITRE·01:51 PM
Data Sourced
via MITRE·01:51 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
Description
Data Sourced
via NVD·02:15 PM
SeverityWeakness
Data Sourced
via Red Hat·03:28 PM
DescriptionSeverityAffected Software
Apr 15, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Jul 31, 2024
Data Sourced
via Launchpad·05:31 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·05:37 PM
RemedyDescriptionSeverityAffected Software
Nov 8, 2024
Advisory Published
via F5·07:09 PM
Aug 18, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-2511?

CVE-2024-2511 is classified as a high severity vulnerability due to its potential to cause a Denial of Service.

2

How do I fix CVE-2024-2511?

To address CVE-2024-2511, upgrade your OpenSSL version to any of the remedial versions listed in the vulnerability report.

3

What are the affected OpenSSL versions for CVE-2024-2511?

CVE-2024-2511 affects specific versions of OpenSSL prior to the stated remedial releases.

4

Can CVE-2024-2511 be exploited remotely?

Yes, CVE-2024-2511 can be exploited by remote attackers under certain server configurations.

5

Is there a workaround for CVE-2024-2511?

While upgrading is the best remediation, consider reviewing and adjusting your TLS server configurations as a temporary measure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203