CVE-2024-2511: Unbounded memory growth with session handling in TLSv1.3
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
Remediation
Event History
Frequently Asked Questions
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.
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.
What are the affected OpenSSL versions for CVE-2024-2511?
CVE-2024-2511 affects specific versions of OpenSSL prior to the stated remedial releases.
Can CVE-2024-2511 be exploited remotely?
Yes, CVE-2024-2511 can be exploited by remote attackers under certain server configurations.
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.