NFS Path Separator Sanitization Flaw CVE-2024-6759 (Linux Kernel)
CVE-2024-6759 Published on August 12, 2024
NFS client accepts file names containing path separators
When mounting a remote filesystem using NFS, the kernel did not sanitize remotely provided filenames for the path separator character, "/". This allows readdir(3) and related functions to return filesystem entries with names containing additional path components.
The lack of validation described above gives rise to a confused deputy problem. For example, a program copying files from an NFS mount could be tricked into copying from outside the intended source directory, and/or to a location outside the intended destination directory.
Vulnerability Analysis
CVE-2024-6759 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2024-6759 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2024-6759
Want to know whenever a new CVE is published for FreeBSD? stack.watch will email you.
Affected Versions
FreeBSD:- Version 14.1-RELEASE and below p3 is affected.
- Version 14.0-RELEASE and below p9 is affected.
- Version 13.3-RELEASE and below p5 is affected.
- Version 14.1 and below 14.1p3 is affected.
- Version 14.0 and below 14.0p9 is affected.
- Version 13.3 and below 13.3p5 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.