Skip to content
6.3 Medium

CVE-2024-7264 libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field

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.

Affected products and versions

Product Affected versions Fixed in
curl 8.9.0 No fix stated
curl 8.8.0 No fix stated
curl 8.7 8.7.0 → 8.7.1 No fix stated
curl 8.6.0 No fix stated
curl 8.5.0 No fix stated
curl 8.4.0 No fix stated
curl 8.3.0 No fix stated
curl 8.2 8.2.0 → 8.2.1 No fix stated
curl 8.1 8.1.0 → 8.1.2 No fix stated
Show the 78 other branches
Product Affected versions Fixed in
curl 8.0 8.0.0 → 8.0.1 No fix stated
curl 7.88 7.88.0 → 7.88.1 No fix stated
curl 7.87.0 No fix stated
curl 7.86.0 No fix stated
curl 7.85.0 No fix stated
curl 7.84.0 No fix stated
curl 7.83 7.83.0 → 7.83.1 No fix stated
curl 7.82.0 No fix stated
curl 7.81.0 No fix stated
curl 7.80.0 No fix stated
curl 7.79 7.79.0 → 7.79.1 No fix stated
curl 7.78.0 No fix stated
curl 7.77.0 No fix stated
curl 7.76 7.76.0 → 7.76.1 No fix stated
curl 7.75.0 No fix stated
curl 7.74.0 No fix stated
curl 7.73.0 No fix stated
curl 7.72.0 No fix stated
curl 7.71 7.71.0 → 7.71.1 No fix stated
curl 7.70.0 No fix stated
curl 7.69 7.69.0 → 7.69.1 No fix stated
curl 7.68.0 No fix stated
curl 7.67.0 No fix stated
curl 7.66.0 No fix stated
curl 7.65 7.65.0 → 7.65.3 No fix stated
curl 7.64 7.64.0 → 7.64.1 No fix stated
curl 7.63.0 No fix stated
curl 7.62.0 No fix stated
curl 7.61 7.61.0 → 7.61.1 No fix stated
curl 7.60.0 No fix stated
curl 7.59.0 No fix stated
curl 7.58.0 No fix stated
curl 7.57.0 No fix stated
curl 7.56 7.56.0 → 7.56.1 No fix stated
curl 7.55 7.55.0 → 7.55.1 No fix stated
curl 7.54 7.54.0 → 7.54.1 No fix stated
curl 7.53 7.53.0 → 7.53.1 No fix stated
curl 7.52 7.52.0 → 7.52.1 No fix stated
curl 7.51.0 No fix stated
curl 7.50 7.50.0 → 7.50.3 No fix stated
curl 7.49 7.49.0 → 7.49.1 No fix stated
curl 7.48.0 No fix stated
curl 7.47 7.47.0 → 7.47.1 No fix stated
curl 7.46.0 No fix stated
curl 7.45.0 No fix stated
curl 7.44.0 No fix stated
curl 7.43.0 No fix stated
curl 7.42 7.42.0 → 7.42.1 No fix stated
curl 7.41.0 No fix stated
curl 7.40.0 No fix stated
curl 7.39.0 No fix stated
curl 7.38.0 No fix stated
curl 7.37 7.37.0 → 7.37.1 No fix stated
curl 7.36.0 No fix stated
curl 7.35.0 No fix stated
curl 7.34.0 No fix stated
curl 7.33.0 No fix stated
curl 7.32.0 No fix stated
RUGGEDCOM RST2428P 3.2 earliest → < 3.2 3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 earliest → < 3.2 3.2
SCALANCE XCH328 3.3 earliest → < 3.3 3.3
SCALANCE XCM324 3.3 earliest → < 3.3 3.3
SCALANCE XCM328 3.3 earliest → < 3.3 3.3
SCALANCE XCM332 3.3 earliest → < 3.3 3.3
SCALANCE XRH334 (24 V DC, 8xFO, CC) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24 V DC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 12xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230 V AC, 8xFO) 3.3 earliest → < 3.3 3.3
SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) 3.3 earliest → < 3.3 3.3
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 earliest → < 3.2 3.2

References

Timeline

  1. Published
  2. Last modified
The 98 CVEs of curl →
Track this CVE