Cloud Foundry Logo
blog single gear
Security Advisory

USN-5702-1: curl vulnerabilities

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04

Description

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.58.0-2ubuntu3.21 libcurl4-openssl-dev – 7.58.0-2ubuntu3.21 libcurl3-gnutls – 7.58.0-2ubuntu3.21 libcurl4-doc – 7.58.0-2ubuntu3.21 libcurl3-nss – 7.58.0-2ubuntu3.21 libcurl4-nss-dev – 7.58.0-2ubuntu3.21 libcurl4 – 7.58.0-2ubuntu3.21 curl – 7.58.0-2ubuntu3.21 No subscription required

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.145
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.330.0
  • cflinuxfs4
    • All versions prior to 0.36.0
  • Jammy Stemcells
    • 1.x versions prior to 1.18
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 23.0.0, or later versions with Jammy Stemcells prior to 1.18 or Bionic Stemcells prior to 1.145

Mitigation

Users of affected products are strongly encouraged to follow the mitigations below. The Cloud Foundry project recommends upgrading the following releases:

  • Bionic Stemcells
    • Upgrade 1.x versions to 1.145 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • cflinuxfs3
    • Upgrade all versions to 0.330.0 or greater
  • cflinuxfs4
    • Upgrade all versions to 0.36.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.18 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • CF Deployment
    • Upgrade all versions to 23.0.0 or greater, upgrade Jammy Stemcells to 1.18 or greater, and upgrade Bionic Stemcells to 1.145 or greater

References

History

2023-05-16: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR

SEE ALL ARTICLES