CVE-2024-6759

MEDIUM

FreeBSD < 13.0 - Path Traversal via NFS Filename Sanitization Bypass

Title source: llm
STIX 2.1

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.

References (2)

Core 2

Scores

CVSS v3 5.3
EPSS 0.0027
EPSS Percentile 50.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (4)
freebsd/freebsd 13.3 p1 (4 CPE variants)
freebsd/freebsd 14.0 beta5 (11 CPE variants)
freebsd/freebsd 14.1 p1 (2 CPE variants)
freebsd/freebsd < 13.0
Published Aug 12, 2024
Tracked Since Feb 18, 2026