CVE Catalog

CVE-2023-27534

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.44%

84th percentile - higher than 84% of all known CVEs

Summary

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.

Risk Assessment

Enables bypassing filtering mechanisms or executing arbitrary code on the SFTP server, potentially leading to unauthorized file access or server compromise.

Recommendation

Update curl to version 8.0.0 or later.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS