USN-5702-1

Type: Security
Severity: Medium
Published: 2022-10-26
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

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) Update Instructions: Run `sudo pro fix USN-5702-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libcurl4-gnutls-dev - 7.81.0-1ubuntu1.6 libcurl4-openssl-dev - 7.81.0-1ubuntu1.6 libcurl3-gnutls - 7.81.0-1ubuntu1.6 libcurl4-doc - 7.81.0-1ubuntu1.6 libcurl3-nss - 7.81.0-1ubuntu1.6 libcurl4-nss-dev - 7.81.0-1ubuntu1.6 libcurl4 - 7.81.0-1ubuntu1.6 curl - 7.81.0-1ubuntu1.6 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T07:35:15.488Z UTC.

Upstream Advisory

Affected Packages

  • libcurl4-gnutls-dev 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl4-openssl-dev 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl3-gnutls 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl4-doc 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl3-nss 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl4-nss-dev 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl4 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • curl 7.81.0-1ubuntu1.6-7.81.0-1ubuntu1.6

  • libcurl4-gnutls-dev 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl4-openssl-dev 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl3-gnutls 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl4-doc 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl3-nss 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl4-nss-dev 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • libcurl4 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

  • curl 7.68.0-1ubuntu2.14-7.68.0-1ubuntu2.14

Interested in being alerted when there are new versions of libcurl4-gnutls-dev and the other packages? Set up an alert.
USN-5702-1: curl vulnerabilities | Package Alert