VDB

CVE-2023-27534

CVE-2023-27534 PUBLISHED CVSS 8.8 HIGH

Reported by hackerone · Published March 30, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurl-develAmazon Linux8.0.1-1.amzn2023, 8.0.1-1.amzn2.0.1
curlhaxx7.88.1

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/ahttps://github.com/curl/curlFixed in 8.0.0
amazon:2libcurl-devel0
amazon:2023libcurl-devel0
n/ahttps://github.com/curl/curl8.0.0
amazon:2libcurl0
amazon:2023libcurl0
alpinecurl0, 0, 0
amazon:2023libcurl-minimal0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023curl0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023curl-minimal0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2curl0

Timeline

  • Mar 20, 2023 PoC Published (3 in total, the first dated here)
  • Mar 30, 2023 CVE Published
  • Mar 31, 2023 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (16 in total, the first dated here)
  • Jul 2, 2026 Distribution Patch (13 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-27534
vulnetix vdb fixes CVE-2023-27534

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-27534/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›