Missing Release of Resource after Effective Lifetime Affecting curl package, versions <0:7.61.1-34.el8_10.2


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-RHEL8-CURL-6505994
  • 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?

Upgrade RHEL:8 curl to version 0:7.61.1-34.el8_10.2 or higher.
This issue was patched in RHSA-2024:5654.

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:8 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