Logo
vulnerabilityCVE-2024-7264
Name
CVE-2024-7264
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
curl
Patched

Vulnerability Ratings#


6.5
CVSSv31
6.3
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
8.20.0
Not Affected
buildroot
master
8.21.0
Not Affected
openwrt
master
8.19.0-r2
Not Affected
openwrt
master
8.20.0-r1
Not Affected
openwrt
openwrt-25.12
8.19.0-r2
Not Affected
openwrt
openwrt-25.12
8.14.1-r1
Not Affected
yocto
kirkstone
7.82.0
Patched
yocto
master
8.20.0
Not Affected

Resolved with patches#


curl (yocto:kirkstone)

#
Title
Author
Resolve
1
x509asn1: unittests and fixes for gtime2str
Stefan Eissing <stefan@eissing.org>
CVE-2024-7264
2
x509asn1: clean up GTime2str
Daniel Stenberg <daniel@haxx.se>
CVE-2024-7264

curl (yocto:scarthgap)

#
Title
Author
Resolve
1
x509asn1: clean up GTime2str
Daniel Stenberg <daniel@haxx.se>
CVE-2024-7264
2
x509asn1: unittests and fixes for gtime2str
Stefan Eissing <stefan@eissing.org>
CVE-2024-7264