CVEvulnerability
CVE-2024-6759
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-08-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22
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 configurations
• freebsd freebsd (< 13.0)
• freebsd freebsd (>= 13.1 < 13.3)
• freebsd freebsd 13.3
• freebsd freebsd 14.0
• freebsd freebsd 14.1
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:07.nfsclient.asc Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240816-0009/ security.netapp.com