Skip to main content
CVE Radar
HIGHpublic exploit

CVE-2023-38545

CVE-2023-38545 Vulnerability Analysis & Exploit Intelligence

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.

Published Updated Sources: cvelistV5, hackerone

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Public exploit

exploit code published, no use observed

EPSS

78%

chance of exploitation in 30 days

Affects

Curl

5 products listed

CVSS base

8.8

HIGH

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

PoC

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (2)

Products (5)

curlruggedcom ape1808simatic s7 1500 cpu 1518 4 pn dp mfpsimatic s7 1500 cpu 1518f 4 pn dp mfpsiplus s7 1500 cpu 1518 4 pn dp mfp

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
8.8CVSS 3.1HIGHn/an/acvelistV5

Weakness & attack patterns

  • CWE-787

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Indexed by

poc in github

References

21 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Curlevery CVE for this vendor
  • Siemensevery CVE for this vendor
  • CWE-787other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.