Skip to content
OpenAdvisories
Unscored CVE-2010-0296 EUVD-2010-0327GHSA-8hvc-pfj5-96x6

The encode_name macro in misc/mntent_r.c in the GNU C Library (aka glibc or libc6) 2.11.1 and earlier, as used by ncpmount and mount.cifs, …

Published Jun 1, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

The encode_name macro in misc/mntent_r.c in the GNU C Library (aka glibc or libc6) 2.11.1 and earlier, as used by ncpmount and mount.cifs, does not properly handle newline characters in mountpoint names, which allows local users to cause a denial of service (mtab corruption), or possibly modify mount options and gain privileges, via a crafted mount request.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.11-1 —
Debian 13 glibc 2.11-1 —
Debian 12 glibc 2.11-1 —
Debian 5.0 glibc 2.7-18lenny4 DSA-2058-1
ReleasePackageFixed inAdvisory
RHEL 5 nscd +6 2.5-58.el5_6.2 RHSA-2011:0412
RHEL 4 nscd +8 2.3.4-2.57 RHSA-2012:0125

Advisories 4

References