USN-5310-1

Type: Security
Severity: Medium
Published: 2022-03-01
Ubuntu 20.04 LTS (Focal Fossa)

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.31-0ubuntu9.7 nscd - 2.31-0ubuntu9.7 libc6-dev-s390 - 2.31-0ubuntu9.7 glibc-source - 2.31-0ubuntu9.7 libc-bin - 2.31-0ubuntu9.7 libc6-x32 - 2.31-0ubuntu9.7 libc6-s390 - 2.31-0ubuntu9.7 libc6-armel - 2.31-0ubuntu9.7 libc6-pic - 2.31-0ubuntu9.7 libc6-dev-armel - 2.31-0ubuntu9.7 glibc-doc - 2.31-0ubuntu9.7 libc6-dev - 2.31-0ubuntu9.7 libc6-amd64 - 2.31-0ubuntu9.7 libc6-dev-amd64 - 2.31-0ubuntu9.7 libc6 - 2.31-0ubuntu9.7 locales-all - 2.31-0ubuntu9.7 libc6-dev-x32 - 2.31-0ubuntu9.7 locales - 2.31-0ubuntu9.7 libc6-lse - 2.31-0ubuntu9.7 libc6-dev-i386 - 2.31-0ubuntu9.7 libc-dev-bin - 2.31-0ubuntu9.7 libc6-prof - 2.31-0ubuntu9.7 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:00:34.499Z UTC.

Upstream Advisory

Affected Packages

  • nscd 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-i386 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev-s390 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • glibc-source 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc-bin 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-x32 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-s390 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-armel 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-pic 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev-armel 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • glibc-doc 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-amd64 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev-amd64 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • locales-all 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev-x32 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • locales 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-lse 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-dev-i386 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc-dev-bin 2.31-0ubuntu9.7-2.31-0ubuntu9.7

  • libc6-prof 2.31-0ubuntu9.7-2.31-0ubuntu9.7

Interested in being alerted when there are new versions of nscd and the other packages? Set up an alert.
USN-5310-1: GNU C Library vulnerabilities | Package Alert