Missing Release of Resource after Effective Lifetime Affecting curl package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-CURL-6507897
  • published27 Mar 2024
  • disclosed27 Mar 2024

Introduced: 27 Mar 2024

CVE-2024-2398  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 curl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.

CVSS Scores

version 3.1