The encode_name macro in misc/mntent_r.c in the GNU C...
High severity
Unreviewed
Published
May 2, 2022
to the GitHub Advisory Database
•
Updated Feb 20, 2023
Description
Published by the National Vulnerability Database
Jun 1, 2010
Published to the GitHub Advisory Database
May 2, 2022
Last updated
Feb 20, 2023
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.
References