CVE-2023-27534Path Traversal in Curl

Severity
8.8HIGHNVD
EPSS
0.1%
top 80.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 30
Latest updateOct 15

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages5 packages

Debianhaxx/curl< 7.74.0-1.3+deb11u8+3
Ubuntuhaxx/curl< 7.58.0-2ubuntu3.24+2
NVDhaxx/curl7.18.07.88.1
CVEListV5https/github.com_curl_curlFixed in 8.0.0
NVDsplunk/universal_forwarder8.2.08.2.12+2

Also affects: Fedora 36

🔴Vulnerability Details

4
GHSA
GHSA-4j25-c9rf-fp5f: A path traversal vulnerability exists in curl <82023-03-30
CVEList
CVE-2023-27534: A path traversal vulnerability exists in curl <82023-03-30
OSV
CVE-2023-27534: A path traversal vulnerability exists in curl <82023-03-30
OSV
curl vulnerabilities2023-03-20

📋Vendor Advisories

5
Oracle
Oracle Oracle Hyperion Risk Matrix: Infrastructure (curl) — CVE-2023-275342023-10-15
Red Hat
curl: SFTP path ~ resolving discrepancy2023-03-20
Ubuntu
curl vulnerabilities2023-03-20
Microsoft
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 intend2023-03-14
Debian
CVE-2023-27534: curl - A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes ...2023

💬Community

2
HackerOne
CVE-2023-27534: SFTP path ~ resolving discrepancy2023-03-22
HackerOne
CVE-2023-27534: SFTP path ~ resolving discrepancy2023-03-20