CVE-2024-7264CWE-125

CVE-2024-7264

Medium · published July 31, 2024

CVSS v3.1
6.5
EPSS
20%
Percentile
97.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.20202 · 97.5th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-07-31T12:15Z
Affected products (1)
ProductVersionsFixed in
haxx/libcurl≥ 7.32.0, < 8.9.18.9.1
References (12)
EPSS history
Timeline
  • 31 JUL 08:08Z
    ASN.1 date parser overread
    cvelistv5