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) nosubtreecheck default behavior
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3178.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@51b2ee7d006a736a9126e8111d1f24e4fd0afaa6",
"digest": {
"line_hashes": [
"259583197638966343342945811663296721760",
"56183671014094440692680265306913423768",
"35452939940155403801902711316405638332",
"281026875259916185849558928429144386880",
"15303245858328375234317405465358236560"
],
"threshold": 0.9
},
"id": "CVE-2021-3178-0aa1e9cf",
"deprecated": false,
"target": {
"file": "fs/nfsd/nfs3xdr.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@51b2ee7d006a736a9126e8111d1f24e4fd0afaa6",
"digest": {
"function_hash": "219383961600919924893524971136033002752",
"length": 642.0
},
"id": "CVE-2021-3178-ffadf116",
"deprecated": false,
"target": {
"file": "fs/nfsd/nfs3xdr.c",
"function": "compose_entry_fh"
}
}
]