Cloud Foundry Logo
blog single gear
Security Advisory

USN-5638-3: Expat vulnerability




Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04


USN-5638-1 fixed a vulnerability in Expat. This update provides the corresponding updates for Ubuntu 16.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 22.10. (CVE-2022-43680) This update also fixes a minor regression introduced in Ubuntu 18.04 LTS. We apologize for the inconvenience. Original advisory details: Rhodri James discovered that Expat incorrectly handled memory when processing certain malformed XML files. An attacker could possibly use this issue to cause a crash or execute arbitrary code. Update Instructions: Run `sudo pro fix USN-5638-3` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: lib64expat1 – 2.1.0-7ubuntu0.16.04.5+esm7 lib64expat1-dev – 2.1.0-7ubuntu0.16.04.5+esm7 expat – 2.1.0-7ubuntu0.16.04.5+esm7 libexpat1-dev – 2.1.0-7ubuntu0.16.04.5+esm7 libexpat1 – 2.1.0-7ubuntu0.16.04.5+esm7 Available with Ubuntu Pro (Infra-only):

CVEs contained in this USN include: CVE-2022-43680.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.150
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.338.0
  • Jammy Stemcells
    • 1.x versions prior to 1.55
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 24.0.0, or later versions with Jammy Stemcells prior to 1.55, Bionic Stemcells prior to 1.150, or Xenial Stemcells prior to 621.359


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.150 or greater
    • All other stemcells should be upgraded to the latest version available on
  • cflinuxfs3
    • Upgrade all versions to 0.338.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.55 or greater
    • All other stemcells should be upgraded to the latest version available on
  • CF Deployment
    • Upgrade all versions to 24.0.0 or greater, upgrade Jammy Stemcells to 1.55 or greater, upgrade Bionic Stemcells to 1.150 or greater, and upgrade Xenial Stemcells to 621.359 or greater


2022-12-07: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR