WaratekVRT Sign in

CVE-2023-38545

Affected software4 products, listed below
Severity9.8 Critical CVSS 3.1 2 scores
WeaknessOut-of-bounds write (CWE-787)
Published18 Oct 2023
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC 7 indexed Published artifacts you can open, in GitHub PoC; first seen 2023-10-11.
  • EPSS 78% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.

3 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC This script is designed to exploit a heap buffer overflow vulnerability in a socks5 proxy server. 21 2023-10-17
GitHub PoC Simple PoC causing overflow 20 2023-10-11
GitHub PoC 😄 CVE-2023-38545堆溢出的POC和分析文章 8 2023-10-12
GitHub PoC Simple PoC causing overflow 6 2023-10-12
GitHub PoC A proof of concept for testing CVE-2023-38545 against local curl 4 2023-10-16
GitHub PoC Dockerfile containing all the necessary setup files to demo the exploit 3 2023-10-12
GitHub PoC CVE-2023-38545 POC for the curl command line tool 2 2023-10-16

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2024 ↗ CPU 2024-Q4 Oracle Analytics / Analytics Server (curl) (7.0.0.0.0, 7.6.0.0.0, 12.2.1.4.0)
Oracle Critical Patch Update April 2024 ↗ CPU 2024-Q2 Oracle PeopleSoft / File Processing (curl) (8.59, 8.60, 8.61)
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Database Server / Oracle Spatial and Graph (curl) (19.3-19.21, 21.3-21.12, 23.3)
Oracle Essbase / Essbase Web Platform (curl) (21.5.3.0.0)
Oracle Fusion Middleware / Third Party (curl) (12.2.1.4.0)
Oracle MySQL / Cluster: General (curl) (8.0.34 and prior, 8.1.0)
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle MySQL / Server: Compiling (curl) (5.7.43 and prior, 8.0.34 and prior, 8.1.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Analytics Server (curl) 7.0.0.0.0, 7.6.0.0.0, 12.2.1.4.0 7.0.0.0.0 · 7.6.0.0.0 · 12.2.1.4.0
Oracle Database Server Oracle Spatial and Graph (curl) 19.3-19.21, 21.3-21.12, 23.3 23.3
Oracle Essbase Essbase Web Platform (curl) 21.5.3.0.0 21.5.3.0.0
Oracle Fusion Middleware Third Party (curl) 12.2.1.4.0 12.2.1.4.0
Oracle MySQL Cluster: General (curl) 8.0.34 and prior, 8.1.0 8.1.0
Oracle MySQL Server: Compiling (curl) 5.7.43 and prior, 8.0.34 and prior, 8.1.0 8.1.0
Oracle PeopleSoft File Processing (curl) 8.59, 8.60, 8.61 8.59 · 8.60 · 8.61

Products and versions

13 products, 13 version entries
SourceVendorProductSchemeAffected versions
nvd fedoraproject fedora generic 37
nvd haxx libcurl generic ≥ 7.69.0 and < 8.4.0
nvd microsoft windows 10 1809 generic < 10.0.17763.5122
nvd microsoft windows 10 21h2 generic < 10.0.19044.3693
nvd microsoft windows 10 22h2 generic < 10.0.19045.3693
nvd microsoft windows 11 21h2 generic < 10.0.22000.2600
nvd microsoft windows 11 22h2 generic < 10.0.22621.2715
nvd microsoft windows 11 23h2 generic < 10.0.22631.2715
nvd microsoft windows server 2019 generic < 10.0.17763.5122
nvd microsoft windows server 2022 generic < 10.0.20348.2113
nvd netapp active iq unified manager generic any version
nvd netapp oncommand insight generic any version
nvd netapp oncommand workflow automation generic any version

References

URLTags
http://seclists.org/fulldisclosure/2024/Jan/34 Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jan/37 Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jan/38 Mailing List, Third Party Advisory
https://curl.se/docs/CVE-2023-38545.html Patch, Third Party Advisory
https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/ Mailing List, Third Party Advisory
https://security.netapp.com/advisory/ntap-20231027-0009/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20240201-0005/ Third Party Advisory
https://support.apple.com/kb/HT214036 Third Party Advisory
https://support.apple.com/kb/HT214057 Third Party Advisory

Timeline

Published2023-10-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.