Vulnerability Details : CVE-2023-38545
Public exploit exists!
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.
Products affected by CVE-2023-38545
- cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
- cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-38545
0.93%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 83 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-38545
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
N/A
|
N/A
|
Cisco:cisco-sa-curl-libcurl-D9ds39cV | 2024-02-21 |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-10-17 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
7.5
|
HIGH | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
N/A
|
N/A
|
Oracle:CPUOct2023 | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
N/A
|
N/A
|
RedHat-CVE-2023-38545 |
CWE ids for CVE-2023-38545
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2023-38545
-
http://seclists.org/fulldisclosure/2024/Jan/38
Full Disclosure: APPLE-SA-01-22-2024-7 macOS Monterey 12.7.3Mailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/
[SECURITY] Fedora 37 Update: curl-7.85.0-12.fc37 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
http://seclists.org/fulldisclosure/2024/Jan/37
Full Disclosure: APPLE-SA-01-22-2024-6 macOS Ventura 13.6.4Mailing List;Third Party Advisory
-
https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/
Discover The High Severity Heap buffer Overflow Vulnerability in cURL (CVE-2023-38545) - SecPod BlogPatch;Third Party Advisory
-
https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868
Updates for curl? (CVE-2023-38545 & CVE-2023-38546) - VSI OpenVMS Forum
-
https://security.netapp.com/advisory/ntap-20240201-0005/
January 2024 MySQL Cluster Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://support.apple.com/kb/HT214057
About the security content of macOS Monterey 12.7.3 - Apple SupportThird Party Advisory
-
https://curl.se/docs/CVE-2023-38545.html
curl - SOCKS5 heap buffer overflow - CVE-2023-38545Patch;Third Party Advisory
-
http://seclists.org/fulldisclosure/2024/Jan/34
Full Disclosure: APPLE-SA-01-22-2024-3 iOS 16.7.5 and iPadOS 16.7.5Mailing List;Third Party Advisory
-
https://support.apple.com/kb/HT214036
About the security content of macOS Sonoma 14.2 - Apple SupportThird Party Advisory
-
https://security.netapp.com/advisory/ntap-20231027-0009/
October 2023 MySQL Server Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://support.apple.com/kb/HT214063
About the security content of iOS 16.7.5 and iPadOS 16.7.5 - Apple SupportThird Party Advisory
-
https://support.apple.com/kb/HT214058
About the security content of macOS Ventura 13.6.4 - Apple SupportThird Party Advisory
Jump to