8.6High

CVE-2024-2398HTTP/2 push headers memory-leak

curl curl; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP; Siemens SINEMA Remote Connect Client Published: (2 years ago)

Description

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.

Weakness (CWE): CWE-772

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
curl curl 8.6.0 – ≤ 8.6.0, 8.5.0 – ≤ 8.5.0, 8.4.0 – ≤ 8.4.0, 8.3.0 – ≤ 8.3.0, 8.2.1 – ≤ 8.2.1, 8.2.0 – ≤ 8.2.0, 8.1.2 – ≤ 8.1.2, 8.1.1 – ≤ 8.1.1, 8.1.0 – ≤ 8.1.0, 8.0.1 – ≤ 8.0.1, 8.0.0 – ≤ 8.0.0, 7.88.1 – ≤ 7.88.1, 7.88.0 – ≤ 7.88.0, 7.87.0 – ≤ 7.87.0, 7.86.0 – ≤ 7.86.0, 7.85.0 – ≤ 7.85.0, 7.84.0 – ≤ 7.84.0, 7.83.1 – ≤ 7.83.1, 7.83.0 – ≤ 7.83.0, 7.82.0 – ≤ 7.82.0, 7.81.0 – ≤ 7.81.0, 7.80.0 – ≤ 7.80.0, 7.79.1 – ≤ 7.79.1, 7.79.0 – ≤ 7.79.0, 7.78.0 – ≤ 7.78.0, 7.77.0 – ≤ 7.77.0, 7.76.1 – ≤ 7.76.1, 7.76.0 – ≤ 7.76.0, 7.75.0 – ≤ 7.75.0, 7.74.0 – ≤ 7.74.0, 7.73.0 – ≤ 7.73.0, 7.72.0 – ≤ 7.72.0, 7.71.1 – ≤ 7.7
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SINEC NMS < V3.0 SP1
Siemens SINEMA Remote Connect Client < V3.2 SP2
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5

References and patches