Out-of-bounds Read Affecting curl package, versions <8.9.1-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-CURL-7838598
- published 27 Aug 2024
- disclosed 31 Jul 2024
Introduced: 31 Jul 2024
CVE-2024-7264 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
curl
to version 8.9.1-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream curl
package and not the curl
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
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 is used.