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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-38545

Quick assessment

Affected
curl curl
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

curl是一款用于从服务器传输数据或向服务器传输数据的工具。 curl 7.69.0至8.3.0版本存在安全漏洞,该漏洞源于SOCKS5存在堆栈溢出漏洞。

AI Predicted 8.1 Difficulty: Easy EPSS 78.48% · P100

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
curl curl 8.4.0< 8.4.0 affected
7.69.0< 7.69.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-38545

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means "let the host resolve the name" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there. The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.
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
curl 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
curl是一款用于从服务器传输数据或向服务器传输数据的工具。 curl 7.69.0至8.3.0版本存在安全漏洞,该漏洞源于SOCKS5存在堆栈溢出漏洞。
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.4.0 ~ 8.4.0 -

II. Public POCs for CVE-2023-38545

# POC Description Source Link Shenlong Link
1 Simple PoC causing overflow https://github.com/UTsweetyfish/CVE-2023-38545 POC Details
2 😄 CVE-2023-38545堆溢出的POC和分析文章 https://github.com/imfht/CVE-2023-38545 POC Details
3 Simple PoC causing overflow https://github.com/fatmo666/CVE-2023-38545-libcurl-SOCKS5-heap-buffer-overflow POC Details
4 Dockerfile containing all the necessary setup files to demo the exploit https://github.com/vanigori/CVE-2023-38545-sample POC Details
5 CVE-2023-38545 POC for the curl command line tool https://github.com/dbrugman/CVE-2023-38545-POC POC Details
6 A proof of concept for testing CVE-2023-38545 against local curl https://github.com/bcdannyboy/CVE-2023-38545 POC Details
7 socks5 heap buffer overflow https://github.com/d0rb/CVE-2023-38545 POC Details
8 None https://github.com/Yang-Shun-Yu/CVE-2023-38545 POC Details
9 Network Security Project CVE-2023-38545 https://github.com/nphuang/NS-Project-2024-Spring POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-38545

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-38545 (6)

Mailing List Discussions for CVE-2023-38545 (4)

Security Blog Posts for CVE-2023-38545 (1)

Other References for CVE-2023-38545 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2023-38545

No comments yet


Leave a comment