VDB

CVE-2024-7264

CVE-2024-7264 PUBLISHED CVSS 6.3 MEDIUM

ASN.1 date parser overread

Reported by curl · Published July 31, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ecs-service-connect-agentAmazon Linuxv1.29.9.0-1.amzn2023
curlWolfi8.9.1-r0
curlAlpine8.9.1-r0
curlChainguard8.9.1-r0
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)Siemens3.3
SCALANCE XRM334 (24 V DC, 12xFO)Siemens3.3
RUGGEDCOM RST2428PSiemens3.3, 3.2
SCALANCE XRM334 (2x230 V AC, 8xFO)Siemens3.3
SCALANCE XCM-/XRM-/XCH-/XRH-300 familySiemens3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.3, 3.2
SCALANCE XRM334 (2x230 V AC, 12xFO)Siemens3.3

14 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
curlcurl8.9.0, 8.8.0, 8.7.1
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRM334 (24 V DC, 12xFO)0
SiemensRUGGEDCOM RST2428P0, 0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
amazon:2023ecs-service-connect-agent0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0, 0
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
wolficurl0
SiemensSCALANCE XRM334 (24 V DC, 8xFO)0
SiemensSCALANCE XRM334 (230 V AC, 8xFO)0
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0
alpinecurl0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE XCM3240
SiemensSCALANCE XCM3280

…and 6 more

Timeline

  • Jul 31, 2024 CVE Published
  • Aug 1, 2024 EPSS Score (30 in total, the first dated here)
  • Aug 1, 2024 PoC Published (2 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (15 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (16 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-7264
vulnetix vdb fixes CVE-2024-7264

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-7264/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›