Cloud Foundry Logo
blog single gear
Security Advisory

USN-5800-1: Heimdal vulnerabilities




Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04


It was discovered that Heimdal incorrectly handled certain SPNEGO tokens. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-44758) Evgeny Legerov discovered that Heimdal incorrectly handled memory when performing certain DES decryption operations. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-3437) Greg Hudson discovered that Kerberos PAC implementation used in Heimdal incorrectly handled certain parsing operations. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-42898) It was discovered that Heimdal’s KDC did not properly handle certain error conditions. A remote attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2022-44640) Update Instructions: Run `sudo pro fix USN-5800-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libhcrypto4-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libwind0-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libroken18-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libgssapi3-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-kcm – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libhdb9-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libasn1-8-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libsl0-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libkadm5clnt7-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-kdc – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libkdc2-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-servers – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libheimntlm0-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-docs – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libheimbase1-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libkrb5-26-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libotp0-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-dev – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libkafs0-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libhx509-5-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-multidev – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 libkadm5srv8-heimdal – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 heimdal-clients – 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 Available with Ubuntu Pro (Infra-only):
CVEs contained in this USN include: CVE-2021-44758, CVE-2022-3437, CVE-2022-42898, CVE-2022-44640.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.171
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.349.0
  • CF Deployment
    • All versions prior to 25.0.0, or later versions with Bionic Stemcells prior to 1.171 or Xenial Stemcells prior to 621.401


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.171 or greater
    • All other stemcells should be upgraded to the latest version available on
  • cflinuxfs3
    • Upgrade all versions to 0.349.0 or greater
  • CF Deployment
    • Upgrade all versions to 25.0.0 or greater, upgrade Bionic Stemcells to 1.171 or greater, and upgrade Xenial Stemcells to 621.401 or greater


  • USN Notice
  • CVE-2021-44758
  • CVE-2022-3437
  • CVE-2022-42898
  • CVE-2022-44640


2023-02-02: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR