CVE-2024-7264

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
curlCNA
---
---
CVEADP
---
---
CISA-ADPADP
6.3 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 84%
VendorProductVersion
haxxlibcurl
7.32.0 ≤
𝑥
< 8.9.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
curl
bullseye
7.74.0-1.3+deb11u13
fixed
bullseye (security)
7.74.0-1.3+deb11u14
fixed
bookworm
7.88.1-10+deb12u12
fixed
bookworm (security)
vulnerable
sid
8.13.0-5
fixed
trixie
8.13.0-5
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
curl
plucky
Fixed 8.9.1-2ubuntu1
released
oracular
Fixed 8.9.1-2ubuntu1
released
noble
Fixed 8.5.0-2ubuntu10.2
released
jammy
Fixed 7.81.0-1ubuntu1.17
released
focal
Fixed 7.68.0-1ubuntu2.23
released
bionic
Fixed 7.58.0-2ubuntu3.24+esm5
released
xenial
Fixed 7.47.0-1ubuntu2.19+esm13
released
trusty
Fixed 7.35.0-1ubuntu2.20+esm18
released