CVE-2024-7264

Medium

Description

libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used.

SeverityMedium
CVSS6.5
Exploit probability—
ProductHaxx Libcurl
PublishedJul 31, 2024
First seenJul 31, 2024

How to fix

Update
  • haxx libcurl8.9.1 or later

Affected products

ProductAffected versionsFixed in
haxx libcurl7.32.0 ≤ v < 8.9.18.9.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.