CVE Vulnerabilities

CVE-2021-27645

Double Free

Published: Feb 24, 2021 | Modified: Nov 07, 2023
CVSS 3.x
2.5
LOW
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
1.9 LOW
AV:L/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
2.5 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW

The nameserver caching daemon (nscd) in the GNU C Library (aka glibc or libc6) 2.29 through 2.33, when processing a request for netgroup lookup, may crash due to a double-free, potentially resulting in degraded service or Denial of Service on the local system. This is related to netgroupcache.c.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Glibc Gnu 2.29 (including) 2.33 (including)
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-164.el8 *
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-164.el8 *
Eglibc Ubuntu trusty *
Glibc Ubuntu focal *
Glibc Ubuntu groovy *
Glibc Ubuntu trusty *
Glibc Ubuntu xenial *

Potential Mitigations

References