CVE-2024-2511: Openssl Cve 2024 2511 Unbounded Session Cache

OpenSSL TLSv1.3 session cache unbounded growth DoS. The vulnerability occurs because the cache update logic incorrectly assumes that `session_id_length == 0` is sufficient to reject caching without also checking if the session is `not_resumable`.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Cβ
greprules fetch cve-2024-2511-openssl-cve-2024-2511-unbounded-session-cache --engine opengrep

Description

OpenSSL TLSv1.3 session cache unbounded growth DoS. The vulnerability occurs because the cache update logic incorrectly assumes that `session_id_length == 0` is sufficient to reject caching without also checking if the session is `not_resumable`.