Path Traversal in Linux Kernel
CVE-2021-3178
fs/nfsd/nfs3xdr.c in the Linux kernel through 5.10.8, when there is an NFS export of a subdirectory of a filesystem, allows remote attackers to traverse to other parts of the filesystem via READDIRPLUS. NOTE: some parties argue that such a subdirectory export is not intended to prevent this attack; see also the exports(5) no_subtree_check default behavior
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.024, 84.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- patchwork.kernel.org/project/linux-nfs/patch/20210111210129.GA11652@fieldses.or…
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Mailing List, Vendor Advisory)
- FEDORA-2021-3bcc7198c8 (vendor-advisory)
- [debian-lts-announce] 20210309 [SECURITY] [DLA 2586-1] linux security update (mailing-list, Mailing List, Third Party Advisory)