CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NMedium (6.5). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NExplain CVE-2021-3178 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3178?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3178?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3178 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | through 5.10.8 |
| fedoraproject:fedora | 33 |
| debian:debian_linux | 9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | linux | 4.9.258-1 | DLA-2586-1 |
| Debian | 12, 13, 14 | linux | 5.10.12-1 | DEBIAN-CVE-2021-3178 |
| Ubuntu | 16.04:LTS | linux | 4.4.0-204.236 | UBUNTU-CVE-2021-3178 USN-4876-1 |
| Ubuntu | 16.04:LTS | linux-aws | 4.4.0-1123.137 | UBUNTU-CVE-2021-3178 USN-4876-1 |
| Ubuntu | 16.04:LTS | linux-aws-hwe | 4.15.0-1095.102~16.04.1 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| Ubuntu | 16.04:LTS | linux-azure | 4.15.0-1109.121~16.04.1 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| Ubuntu | 16.04:LTS | linux-gcp | 4.15.0-1094.107~16.04.1 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| Ubuntu | 16.04:LTS | linux-hwe | 4.15.0-137.141~16.04.1 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2021-3178 |
| Ubuntu | 16.04:LTS | linux-kvm | 4.4.0-1089.98 | UBUNTU-CVE-2021-3178 USN-4876-1 |
| Ubuntu | 16.04:LTS | linux-oracle | 4.15.0-1066.74~16.04.1 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| Ubuntu | 16.04:LTS | linux-raspi2 | 4.4.0-1147.157 | UBUNTU-CVE-2021-3178 USN-4876-1 |
| Ubuntu | 16.04:LTS | linux-snapdragon | 4.4.0-1151.161 | UBUNTU-CVE-2021-3178 USN-4876-1 |
| Ubuntu | 18.04:LTS | linux | 4.15.0-137.141 | UBUNTU-CVE-2021-3178 USN-4877-1 |
| 48 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
This flaw is rated as having Moderate impact because of the attack limitation: the user can gain more access than expected only inside NFS root mount point if already have permissions for the access to this NFS sub-folder.
Also this is a known limitation of NFSv3 and there is a known and documented configuration option to avoid this. As such, this is more of an hardening rather than security issue.
When export subdirectory of a filesystem, enable subtree_check option of the NFS server for preventing possibility of accessing outside of this export.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel-alt | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | |
| Red Hat Enterprise Linux 8 | kernel | Affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | |
| Red Hat Enterprise Linux 9 | kernel | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3178.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.