Advisory

UBUNTU-CVE-2023-27534

Also known as: CVE-2023-27534

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-03-20 00:00 UTC
Modified
2026-04-22 14:04 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.58.0-2ubuntu3.24 (ecosystem)

Fixed versions

7.58.0-2ubuntu3.24

Fix

  • Fixed version 7.58.0-2ubuntu3.24
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.68.0-1ubuntu2.18 (ecosystem)

Fixed versions

7.68.0-1ubuntu2.18

Fix

  • Fixed version 7.68.0-1ubuntu2.18
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 7.81.0-1ubuntu1.10 (ecosystem)

Fixed versions

7.81.0-1ubuntu1.10

Fix

  • Fixed version 7.81.0-1ubuntu1.10
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences