First published: Sun Aug 11 2024(Updated: )
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.
Credit: secteam@freebsd.org
Affected Software | Affected Version | How to fix |
---|---|---|
FreeBSD Kernel | <13.0 | |
FreeBSD Kernel | >=13.1<13.3 | |
FreeBSD Kernel | =13.3-p1 | |
FreeBSD Kernel | =13.3-p2 | |
FreeBSD Kernel | =13.3-p3 | |
FreeBSD Kernel | =13.3-p4 | |
FreeBSD Kernel | =14.0-beta5 | |
FreeBSD Kernel | =14.0-p1 | |
FreeBSD Kernel | =14.0-p2 | |
FreeBSD Kernel | =14.0-p3 | |
FreeBSD Kernel | =14.0-p4 | |
FreeBSD Kernel | =14.0-p5 | |
FreeBSD Kernel | =14.0-p6 | |
FreeBSD Kernel | =14.0-p7 | |
FreeBSD Kernel | =14.0-p8 | |
FreeBSD Kernel | =14.0-rc3 | |
FreeBSD Kernel | =14.0-rc4-p1 | |
FreeBSD Kernel | =14.1-p1 | |
FreeBSD Kernel | =14.1-p2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-6759 has been classified with a high severity level due to its potential impact on filesystem security.
To mitigate CVE-2024-6759, users should apply the recommended patches released by FreeBSD for affected versions.
CVE-2024-6759 affects FreeBSD versions 13.0, 13.1 through 13.3, and several versions of 14.x, including beta and release candidates.
CVE-2024-6759 allows readdir(3) and related functions to return filesystem entries with names containing additional path components, leading to potential security risks.
If immediate patching is not possible for CVE-2024-6759, consider restricting access to affected systems and monitoring for unusual activity until a fix can be applied.