CVE-2023-27534
Publication date 20 March 2023
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| curl | ||
| 22.04 LTS jammy |
Fixed 7.81.0-1ubuntu1.10
|
|
| 20.04 LTS focal |
Fixed 7.68.0-1ubuntu2.18
|
|
| 18.04 LTS bionic |
Fixed 7.58.0-2ubuntu3.24
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty |
Not affected
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5964-1
- curl vulnerabilities
- 20 March 2023