Cloud Foundry Logo
blog single gear
Security Advisory

USN-5310-1: GNU C Library vulnerabilities

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 18.04

Description

Jan Engelhardt, Tavis Ormandy, and others discovered that the GNU C Library iconv feature incorrectly handled certain input sequences. An attacker could possibly use this issue to cause the GNU C Library to hang or crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2016-10228, CVE-2019-25013, CVE-2020-27618, CVE-2020-29562, CVE-2021-3326) Jason Royes and Samuel Dytrych discovered that the GNU C Library incorrectly handled signed comparisons on ARMv7 targets. A remote attacker could use this issue to cause the GNU C Library to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-6096) It was discovered that the GNU C Library nscd daemon incorrectly handled certain netgroup lookups. An attacker could possibly use this issue to cause the GNU C Library to crash, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-27645) It was discovered that the GNU C Library wordexp function incorrectly handled certain patterns. An attacker could use this issue to cause the GNU C Library to crash, resulting in a denial of service, or possibly obtain sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-35942) It was discovered that the GNU C Library realpath function incorrectly handled return values. An attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 21.10. (CVE-2021-3998) It was discovered that the GNU C library getcwd function incorrectly handled buffers. An attacker could use this issue to cause the GNU C Library to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-3999) It was discovered that the GNU C Library sunrpc module incorrectly handled buffer lengths. An attacker could possibly use this issue to cause the GNU C Library to crash, resulting in a denial of service. (CVE-2022-23218, CVE-2022-23219) Update Instructions: Run `sudo pro fix USN-5310-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libc6-i386 – 2.27-3ubuntu1.5 libc6-dev-s390 – 2.27-3ubuntu1.5 glibc-source – 2.27-3ubuntu1.5 libc-bin – 2.27-3ubuntu1.5 libc6-x32 – 2.27-3ubuntu1.5 libc6-s390 – 2.27-3ubuntu1.5 libc6-armel – 2.27-3ubuntu1.5 libc6-pic – 2.27-3ubuntu1.5 libc6-dev-armel – 2.27-3ubuntu1.5 glibc-doc – 2.27-3ubuntu1.5 multiarch-support – 2.27-3ubuntu1.5 libc6-dev – 2.27-3ubuntu1.5 libc6-amd64 – 2.27-3ubuntu1.5 libc6-dev-amd64 – 2.27-3ubuntu1.5 libc6 – 2.27-3ubuntu1.5 locales-all – 2.27-3ubuntu1.5 libc6-dev-x32 – 2.27-3ubuntu1.5 locales – 2.27-3ubuntu1.5 libc6-lse – 2.27-3ubuntu1.5 libc6-dev-i386 – 2.27-3ubuntu1.5 libc-dev-bin – 2.27-3ubuntu1.5 nscd – 2.27-3ubuntu1.5 No subscription required

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions prior to 1.67
    • All other stemcells not listed.
  • cflinuxfs3
    • All versions prior to 0.275.0
  • CF Deployment
    • All versions prior to 19.0.0, or later versions with Bionic Stemcells prior to 1.67

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.67 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • cflinuxfs3
    • Upgrade all versions to 0.275.0 or greater
  • CF Deployment
    • Upgrade all versions to 19.0.0 or greater and upgrade Bionic Stemcells to 1.67 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