Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-6759 EUVD-2024-47795GHSA-96rc-h8f4-67gc

NFS client accepts file names containing path separators

Published Aug 11, 2024 · Updated Aug 16, 2024 · Assigned by freebsd

Description

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.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 14.1-RELEASE – < p3, 14.0-RELEASE – < p9, 13.3-RELEASE – < p5 p3

Advisories 1

References