Cloud Foundry Logo
blog single gear
Security Advisory

USN-5825-2: PAM regressions




Canonical Ubuntu

Versions Affected

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


USN-5825-1 fixed vulnerabilities in PAM. Unfortunately that update was incomplete and could introduce a regression. This update fixes the problem. We apologize for the inconvenience. Original advisory details: It was discovered that PAM did not correctly restrict login from an IP address that is not resolvable via DNS. An attacker could possibly use this issue to bypass authentication. Update Instructions: Run `sudo pro fix USN-5825-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libpam-runtime – 1.1.8-3.2ubuntu2.3+esm4 libpam0g-dev – 1.1.8-3.2ubuntu2.3+esm4 libpam-modules – 1.1.8-3.2ubuntu2.3+esm4 libpam-modules-bin – 1.1.8-3.2ubuntu2.3+esm4 libpam-doc – 1.1.8-3.2ubuntu2.3+esm4 libpam-cracklib – 1.1.8-3.2ubuntu2.3+esm4 libpam0g – 1.1.8-3.2ubuntu2.3+esm4 Available with Ubuntu Pro (Infra-only):

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

Affected Cloud Foundry Products and Versions

Severity is negligible unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.174
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.351.0
  • cflinuxfs4
    • All versions prior to 0.62.0
  • Jammy Stemcells
    • 1.x versions prior to 1.83
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 26.4.0, or later versions with Jammy Stemcells prior to 1.83, Bionic Stemcells prior to 1.174, or Xenial Stemcells prior to 621.418


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.174 or greater
    • All other stemcells should be upgraded to the latest version available on
  • cflinuxfs3
    • Upgrade all versions to 0.351.0 or greater
  • cflinuxfs4
    • Upgrade all versions to 0.62.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.83 or greater
    • All other stemcells should be upgraded to the latest version available on
  • CF Deployment
    • Upgrade all versions to 26.4.0 or greater, upgrade Jammy Stemcells to 1.83 or greater, upgrade Bionic Stemcells to 1.174 or greater, and upgrade Xenial Stemcells to 621.418 or greater



2023-02-24: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR