Cloud Foundry Logo
blog single gear
Security Advisory

USN-5412-1: curl vulnerabilities

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04

Description

Axel Chong discovered that curl incorrectly handled percent-encoded URL separators. A remote attacker could possibly use this issue to trick curl into using the wrong URL and bypass certain checks or filters. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-27780) Florian Kohnhuser discovered that curl incorrectly handled returning a TLS server’s certificate chain details. A remote attacker could possibly use this issue to cause curl to stop responding, resulting in a denial of service. (CVE-2022-27781) Harry Sintonen discovered that curl incorrectly reused a previous connection when certain options had been changed, contrary to expectations. (CVE-2022-27782) Update Instructions: Run `sudo pro fix USN-5412-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.2 libcurl4-openssl-dev – 7.81.0-1ubuntu1.2 libcurl3-gnutls – 7.81.0-1ubuntu1.2 libcurl4-doc – 7.81.0-1ubuntu1.2 libcurl3-nss – 7.81.0-1ubuntu1.2 libcurl4-nss-dev – 7.81.0-1ubuntu1.2 libcurl4 – 7.81.0-1ubuntu1.2 curl – 7.81.0-1ubuntu1.2 No subscription required

CVEs contained in this USN include: CVE-2022-27780, CVE-2022-27781, CVE-2022-27782.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.84
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.296.0
  • Jammy Stemcells
    • Only unsupported release lines of this product are affected
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 21.0.0, or later versions with Bionic Stemcells prior to 1.84

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.84 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • cflinuxfs3
    • Upgrade all versions to 0.296.0 or greater
  • Jammy Stemcells
    • Upgrade to 1.2 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • CF Deployment
    • Upgrade all versions to 21.0.0 or greater and upgrade Bionic Stemcells to 1.84 or greater

History

2022-12-07: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR

SEE ALL ARTICLES