Advisory

UBUNTU-CVE-2022-27780

Also known as: CVE-2022-27780

Summary

The record has no summary.

Details

The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like http://example.com%2F127.0.0.1/, would be allowed bythe parser and get transposed into http://example.com/127.0.0.1/. This flawcan be used to circumvent filters, checks and more.

Severity

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

Dates

Published
2022-05-11 00:00 UTC
Modified
2026-04-22 13:20 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

7.81.0-1ubuntu1.2

Fix

  • Fixed version 7.81.0-1ubuntu1.2
    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