cve.bz

CVE-2023-27534 Path traversal

8.8 highExploit referenceEPSS 2.4%

High (8.8). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-27534 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27534?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27534?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-27534 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-27534

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-27534](https://cve.bz/cve/badge/CVE-2023-27534.svg)](https://cve.bz/cve/CVE-2023-27534)

HTML:

<a href="https://cve.bz/cve/CVE-2023-27534"><img src="https://cve.bz/cve/badge/CVE-2023-27534.svg" alt="CVE-2023-27534"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:curlfrom 7.18.0 through 7.88.1
fedoraproject:fedora36
splunk:universal_forwarderfrom 8.2.0 before 8.2.12
splunk:universal_forwarderfrom 9.0.0 before 9.0.6
splunk:universal_forwarder9.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10curl7.64.0-4+deb10u9DLA-3763-1
Debian12, 13, 14curl7.88.1-7DEBIAN-CVE-2023-27534
Ubuntu18.04:LTScurl7.58.0-2ubuntu3.24UBUNTU-CVE-2023-27534 USN-5964-1
Ubuntu20.04:LTScurl7.68.0-1ubuntu2.18UBUNTU-CVE-2023-27534 USN-5964-1
Ubuntu22.04:LTScurl7.81.0-1ubuntu1.10UBUNTU-CVE-2023-27534 USN-5964-1
Red Hatenterprise_linux:9::appstreamlibcurl-devel, curl-debuginfo, curl-debugsource and 3 more0:7.76.1-26.el9RHSA-2023:6679
Red Hatenterprise_linux:9::baseoscurl, libcurl, curl-minimal and 6 more0:7.76.1-26.el9RHSA-2023:6679
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-101.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.0.1-1.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.51-39.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.51-39.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-14.el7jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 14 more0:1.6.1-101.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.0.1-1.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.51-39.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.51-39.el8jbcsRHSA-2023:3354
Red Hatjboss_core_services:1::el8jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 4 more1:1.1.1k-14.el8jbcsRHSA-2023:3354
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS and 1 morecurl7.60.0-150000.51.1SUSE-SU-2023:2226-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2curl7.66.0-150200.4.72.1SUSE-SU-2024:2009-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Real Time 15 SP3curl7.66.0-150200.4.52.1SUSE-SU-2023:1711-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4curl7.79.1-150400.5.18.1SUSE-SU-2023:1582-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4 and 2 morecurl7.60.0-4.56.1SUSE-SU-2023:2228-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl7.60.0-11.60.1SUSE-SU-2023:0865-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5curl8.0.1-11.117.1SUSE-SU-2026:0494-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nghttp21.39.2-3.20.1SUSE-SU-2026:0494-1
openSUSELeap 15.4, Leap Micro 5.3curl7.79.1-150400.5.18.1SUSE-SU-2023:1582-1
openSUSETumbleweedcurl8.0.1-1.1openSUSE-SU-2024:12812-1
AlmaLinux9curl, libcurl, curl-minimal and 2 more7.76.1-26.el9ALSA-2023:6679
Alpinev3.14, v3.15, v3.16curl8.0.1-r0ALPINE-CVE-2023-27534
Alpinev3.17curl7.88.1-r1ALPINE-CVE-2023-27534
Alpinev3.18, v3.19, v3.20 and 4 morecurl8.0.0-r0ALPINE-CVE-2023-27534
Azure Linux2cmake3.21.4-12AZL-25784
Azure Linux2curl8.0.1-1AZL-25847
Azure Linux2mysql8.0.34-1AZL-25806
Azure Linux2rust1.72.0-2AZL-25810
Azure Linux3cmake3.28.2-1AZL-34607
Azure Linux3tensorflow2.16.1-1AZL-38611

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

In a containerized environment running SELinux in enforcing mode, such as Red Hat OpenShift Container Platform, this vulnerability does not allow an attacker to escape the boundary of a container. In this case no additional access is gained, there is an additional (but more complicated step) to look at files the user already has access to.

The upstream project (Curl) also rated this CVE as Low, see link in External References.

It is unlikely that Red Hat offerings are utilizing the SFTP feature of Curl, so the opportunity to exploit it may not exist. For those reasons Red Hat Product Security rates the impact as Low.

ProductPackageStateAdvisory
JBCS httpd 2.4.51.sp2jbcs-httpd24-curlFixed 2023-06-05RHSA-2023:3355
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:8.0.1-1.el8jbcsFixed 2023-06-05RHSA-2023:3354
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:8.0.1-1.el7jbcsFixed 2023-06-05RHSA-2023:3354
Red Hat Enterprise Linux 9curl-0:7.76.1-26.el9Fixed 2023-11-07RHSA-2023:6679
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-curlOut of support scope
Red Hat Enterprise Linux 6curlOut of support scope
Red Hat Enterprise Linux 7curlFix deferred
Red Hat Enterprise Linux 8curlFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-27534.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON