Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-6874— macidn punycode buffer overread

Quick assessment

Affected
curl curl
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libcurl是cURL开源的一个免费且易于使用的客户端 URL 传输库。 libcurl URL API 8.8.0版本存在安全漏洞,该漏洞源于函数curl_url_get()在处理IDN转换时,会读取基于堆栈的缓冲区之外的内容,可能导致堆栈内容意外作为转换后的字符串的一部分返回。

AI Predicted 5.3 Difficulty: Easy EPSS 0.79% · P55

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-6874

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
macidn punycode buffer overread
Source: CVE Program / CVE List V5
Vulnerability Description
libcurl's URL API function [curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
libcurl 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libcurl是cURL开源的一个免费且易于使用的客户端 URL 传输库。 libcurl URL API 8.8.0版本存在安全漏洞,该漏洞源于函数curl_url_get()在处理IDN转换时,会读取基于堆栈的缓冲区之外的内容,可能导致堆栈内容意外作为转换后的字符串的一部分返回。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
curl curl 8.8.0 ~ 8.8.0 -

II. Public POCs for CVE-2024-6874

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-6874

登录查看更多情报信息。

Mailing List Discussions for CVE-2024-6874 (1)

Other References for CVE-2024-6874 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2024-6874

No comments yet


Leave a comment