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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | >= 8.9.0, <= 8.9.0; >= 8.8.0, <= 8.8.0; >= 8.7.1, <= 8.7.1; >= 8.7.0, <= 8.7.0; >= 8.6.0, <= 8.6.0; >= 8.5.0, <= 8.5.0; >= 8.4.0, <= 8.4.0; >= 8.3.0, <= 8.3.0; >= 8.2.1, <= 8.2.1; >= 8.2.0, <= 8.2.0; >= 8.1.2, <= 8.1.2; >= 8.1.1, <= 8.1.1; >= 8.1.0, <= 8.1.0; >= 8.0.1, <= 8.0.1; >= 8.0.0, <= 8.0.0; >= 7.88.1, <= 7.88.1; >= 7.88.0, <= 7.88.0; >= 7.87.0, <= 7.87.0; >= 7.86.0, <= 7.86.0; >= 7.85.0, <= 7.85.0 |
| Siemens | RUGGEDCOM RST2428P | < V3.3 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.3 |
| Siemens | SCALANCE XCH328 | < V3.3 |
| Siemens | SCALANCE XCM324 | < V3.3 |
| Siemens | SCALANCE XCM328 | < V3.3 |
| Siemens | SCALANCE XCM332 | < V3.3 |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | < V3.3 |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | < V3.3 |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 |
| Siemens | RUGGEDCOM RST2428P | < V3.2 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.2 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.2 |
References
- http://www.openwall.com/lists/oss-security/2024/07/31/1Mailing List
- https://curl.se/docs/CVE-2024-7264.htmlVendor Advisory
- https://curl.se/docs/CVE-2024-7264.jsonVendor Advisory
- https://hackerone.com/reports/2629968Exploit, Issue Tracking, Permissions Required, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/07/31/1Mailing List
- https://github.com/curl/curl/commit/27959ecce75cdb2809c0bdb3286e60e08fadb519
- https://security.netapp.com/advisory/ntap-20240828-0008/
- https://security.netapp.com/advisory/ntap-20241025-0006/
- https://security.netapp.com/advisory/ntap-20241025-0010/
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Timeline
- Published
- Jul 31, 2024
- Last modified
- Oct 15, 2026
- NVD status
- Modified