CVEvulnerability
CVE-2024-6874
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-24
- Last modified
- 2026-06-17
- Assigner
- 2499f714-1537-4658-8207-48ae4bb9eae9
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 3.1 LOW — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-125
Description
libcurl's URL API function
curl_url_get() offers punycode
conversions, to and from IDN. Asking to convert a name that is exactly 256
bytes, libcurl ends up reading outside of a stack based buffer when built to
use the *macidn* IDN backend. The conversion function then fills up the
provided buffer exactly - but does not null terminate the string.
This flaw can lead to stack contents accidently getting returned as part of
the converted string.
Affected configurations
• haxx libcurl 8.8.0
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- http://www.openwall.com/lists/oss-security/2024/07/24/2 Mailing List, Third Party Advisory
- https://curl.se/docs/CVE-2024-6874.html Vendor Advisory
- https://curl.se/docs/CVE-2024-6874.json Vendor Advisory
- https://hackerone.com/reports/2604391 Exploit, Issue Tracking, Technical Description
- http://www.openwall.com/lists/oss-security/2024/07/24/2 Mailing List, Third Party Advisory
- https://curl.se/docs/CVE-2024-6874.html Vendor Advisory
- https://curl.se/docs/CVE-2024-6874.json Vendor Advisory
- https://hackerone.com/reports/2604391 Exploit, Issue Tracking, Technical Description
- https://security.netapp.com/advisory/ntap-20240822-0004/ security.netapp.com