Skip to main content
Public proof of conceptFix available

CVE-2023-27534

A public proof of concept exists; no exploitation attested.

  • Published2023-03-30
  • Fixed in9.0.6 · 8.2.12
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.

Timeline

dates in UTC
  1. 2023-03-3020:15CVE publishedNVD

Versions per branch

NVD
Splunk universal forwarder
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.69.0.6
8.2≥ 8.2.0, < 8.2.128.2.12
9.1= 9.1.0no fix published
Broadcom brocade fabric operating system firmware
BranchAffectedFixed in
—all versionsno fix published
Fedoraproject fedora
BranchAffectedFixed in
36.x= 36no fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • https://github.com/curl/curl
    Affected
    • = Fixed in 8.0.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-03-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cmakeAzure Linux:3all versions · fixed in 3.28.2-1
  • cmakeAzure Linux:2all versions · fixed in 3.21.4-12
  • curlUbuntu:22.04:LTSall versions · fixed in 7.81.0-1ubuntu1.10
  • curlUbuntu:20.04:LTSall versions · fixed in 7.68.0-1ubuntu2.18
  • curlUbuntu:18.04:LTSall versions · fixed in 7.58.0-2ubuntu3.24
  • curlSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 7.60.0-4.56.1
  • curlSUSE:OpenStack Cloud 9all versions · fixed in 7.60.0-4.56.1
  • curlSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 7.60.0-11.60.1

70 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-27534 Red Hat Product Security86 products fixed · 17 known affected

    curl: SFTP path ~ resolving discrepancy

    rh-dotnet31-curl as a component of .NET Core 3.1 on Red Hat Enterprise Linux · rh-dotnet31-curl.src as a component of .NET Core 3.1 on Red Hat Enterprise Linux · rh-dotnet31-libcurl as a component of .NET Core 3.1 on Red Hat Enterprise Linux · +14 more

  • ICSA-24-046-11 CISA11 known affected

    Siemens SCALANCE XCM-/XRM-300

    SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more

  • ICSA-24-046-15 CISA1 known affected

    Siemens SINEC NMS

    SINEC NMS

  • SSA-806742 Siemens ProductCERT11 known affected

    SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4

    SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more

  • SSA-943925 Siemens ProductCERT1 known affected

    SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1

    SINEC NMS

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

4 more advisories

Full record on NVD

Fix

  1. Update Splunk universal forwarder to 9.0.6 · 8.2.12
  2. Vendor fix Siemens ProductCERT SSA-943925 · 1 productUpdate to V2.0 SP1 or later version
  3. Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
  4. Vendor fix CISA ICSA-24-046-15 · 1 productUpdate to V2.0 SP1 or later version
  5. Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
  6. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  7. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2023-03-30
Last Modified
2026-10-23
NVD status
Modified
GitHub Advisory
GHSA-4j25-c9rf-fp5f

Frequently asked questions

What is CVE-2023-27534?

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.

Is CVE-2023-27534 actively exploited?

A proof-of-concept exploit exists for CVE-2023-27534, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-27534?

CVE-2023-27534 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running curl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record