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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.44% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 84.0% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-01-19 06:44Z5 YR AGO
- Last updated
- 2024-08-03 16:45Z2 YR AGO
- Reserved
- 2021-01-19
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.1
- Document digest
- 5fb48cef7989cd9f14ee51db7119e55628c9d7ff4e347cc2544ff32699199110
05 Affected products
06 References
- patchwork.kernel.orghttps://patchwork.kernel.org/project/linux-nfs/patch/20210111210129.GA11652%40fieldses.org/
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51b2ee7d006a736a9126e8111d1f24e4fd0afaa6
- lists.fedoraproject.orgFEDORA-2021-3bcc7198c8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5SGB7TNDVQEOJ7NVTGX56UWHDNQM5TRC/
- lists.debian.org[debian-lts-announce] 20210309 [SECURITY] [DLA 2586-1] linux security updatehttps://lists.debian.org/debian-lts-announce/2021/03/msg00010.html
07 Fixed in
Arch Linux
- linux Fixed in 5.10.10.arch1-1
- linux-hardened Fixed in 5.10.10.hardened1-1
- linux-lts Fixed in 5.4.92-1
- linux-zen Fixed in 5.10.10.zen1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.10.12-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.10.12-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.10.12-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux Fixed in 4.4.0-204.236
- linux-aws Fixed in 4.4.0-1123.137
- linux-aws-hwe Fixed in 4.15.0-1095.102~16.04.1
- linux-azure Fixed in 4.15.0-1109.121~16.04.1
- linux-gcp Fixed in 4.15.0-1094.107~16.04.1
- linux-hwe Fixed in 4.15.0-137.141~16.04.1
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.4.0-1089.98
- linux-oracle Fixed in 4.15.0-1066.74~16.04.1
- linux-raspi2 Fixed in 4.4.0-1147.157
- linux-snapdragon Fixed in 4.4.0-1151.161
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux Fixed in 4.15.0-137.141
- linux-aws Fixed in 4.15.0-1095.102
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-aws-5.4 Fixed in 5.4.0-1039.41~18.04.1
- linux-azure No fix yet
- linux-azure-4.15 Fixed in 4.15.0-1109.121
- linux-azure-5.3 No fix yet
- linux-azure-5.4 Fixed in 5.4.0-1041.43~18.04.1
- linux-azure-edge No fix yet
- linux-dell300x Fixed in 4.15.0-1013.17
- linux-gcp No fix yet
- linux-gcp-4.15 Fixed in 4.15.0-1094.107
- linux-gcp-5.3 No fix yet
- linux-gcp-5.4 Fixed in 5.4.0-1038.41~18.04.1
- linux-gcp-edge No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.4 Fixed in 5.4.0-1037.39~18.04.1
- linux-gkeop-5.4 Fixed in 5.4.0-1011.12~18.04.2
- linux-hwe No fix yet
- linux-hwe-5.4 Fixed in 5.4.0-67.75~18.04.1
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.15.0-1086.88
- linux-oem No fix yet
- linux-oracle Fixed in 4.15.0-1066.74
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
- linux-oracle-5.4 Fixed in 5.4.0-1039.42~18.04.1
- linux-raspi-5.4 Fixed in 5.4.0-1030.33~18.04.1
- linux-raspi2 Fixed in 4.15.0-1080.85
- linux-snapdragon Fixed in 4.15.0-1097.106
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-67.75
- linux-aws Fixed in 5.4.0-1039.41
- linux-azure Fixed in 5.4.0-1041.43
- linux-gcp Fixed in 5.4.0-1038.41
- linux-gke Fixed in 5.4.0-1037.39
- linux-gkeop Fixed in 5.4.0-1011.12
- linux-hwe-5.8 Fixed in 5.8.0-49.55~20.04.1
- linux-kvm Fixed in 5.4.0-1034.35
- linux-oem-5.10 Fixed in 5.10.0-1014.15
- linux-oem-5.6 Fixed in 5.6.0-1053.57
- linux-oracle Fixed in 5.4.0-1039.42
- linux-raspi Fixed in 5.4.0-1030.33
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.8 Fixed in 5.8.0-22.24~20.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux No fix yet
- linux-aws Fixed in 4.4.0-1087.91Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1109.121~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-204.236~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- linux-azure-fde-5.15 Fixed in 5.15.0-1114.123~20.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1057.63Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2038.40Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2021.24Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1054.62Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- linux-aws-fips Fixed in 5.4.0-1069.73+fips2Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 5.4.0-1073.76+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 5.4.0-1067.71~20.04.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.