CVE-2024-7264

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
31/07/2024
Last modified:
30/10/2024

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* 7.32.0 (including) 8.9.1 (excluding)