Advisory

USN-5702-1

Also known as: CVE-2022-32221, CVE-2022-35260, CVE-2022-42915, CVE-2022-42916

Summary

curl vulnerabilities

Details

Robby Simpson discovered that curl incorrectly handled certain POST
operations after PUT operations. This issue could cause applications using
curl to send the wrong data, perform incorrect memory operations, or crash.
(CVE-2022-32221)

Hiroki Kurosawa discovered that curl incorrectly handled parsing .netrc
files. If an attacker were able to provide a specially crafted .netrc file,
this issue could cause curl to crash, resulting in a denial of service.
This issue only affected Ubuntu 22.10. (CVE-2022-35260)

It was discovered that curl incorrectly handled certain HTTP proxy return
codes. A remote attacker could use this issue to cause curl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-42915)

Hiroki Kurosawa discovered that curl incorrectly handled HSTS support
when certain hostnames included IDN characters. A remote attacker could
possibly use this issue to cause curl to use unencrypted connections. This
issue only affected Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-42916)

Severity

Not rated by the source.

Dates

Published
2022-10-26 17:28 UTC
Modified
2026-04-22 10:28 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

7.58.0-2ubuntu3.21

Fix

  • Fixed version 7.58.0-2ubuntu3.21
    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.14 (ecosystem)

Fixed versions

7.68.0-1ubuntu2.14

Fix

  • Fixed version 7.68.0-1ubuntu2.14
    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.6 (ecosystem)

Fixed versions

7.81.0-1ubuntu1.6

Fix

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