CVE-2024-2398 Affecting curl package, versions <7.58.0-2ubuntu3.24+esm4


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU1804-CURL-6507274
  • published27 Mar 2024
  • disclosed27 Mar 2024

Introduced: 27 Mar 2024

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

How to fix?

Upgrade Ubuntu:18.04 curl to version 7.58.0-2ubuntu3.24+esm4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 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