CVE-2020-16120
CVE-2020-16120 — Unprivileged overlay + shiftfs read access
Overlayfs did not properly perform permission checking when copying up files in an overlayfs and could be exploited from within a user namespace, if, for example, unprivileged user namespaces were allowed. It was possible to have a file not readable by an unprivileged user to be copied to a mountpoint controlled by the user, like a removable device. This was introduced in kernel version 4.19 by commit d1d04ef ("ovl: stack file ops"). This was fixed in kernel version 5.8 by commits 56230d9 ("ovl: verify permissions in ovl_path_open()"), 48bd024 ("ovl: switch to mounter creds in readdir") and 05acefb ("ovl: check permission to open real file"). Additionally, commits 130fdbc ("ovl: pass correct flags for opening real directory") and 292f902 ("ovl: call secutiry hook in ovl_real_ioctl()") in kernel 5.8 might also be desired or necessary. These additional commits introduced a regression in…
Published Updated Sources: cvelistV5, canonical
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.1
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.1 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-266
References
11 on the record
- ubuntu.com/USN-4576-1
vendor-advisory, x_refsource_UBUNTU
- ubuntu.com/USN-4577-1
vendor-advisory, x_refsource_UBUNTU
- ubuntu.com/USN-4578-1
vendor-advisory, x_refsource_UBUNTU
- www.openwall.com/lists/oss-security/2020/10/14/2
x_refsource_CONFIRM
- launchpad.net/bugs/1894980
vendor-advisory, x_refsource_UBUNTU
- launchpad.net/bugs/1900141
vendor-advisory, x_refsource_UBUNTU
- git.kernel.org/linus/56230d956739b9cb1cbde439d76227d77979a04d
x_refsource_CONFIRM
- git.kernel.org/linus/48bd024b8a40d73ad6b086de2615738da0c7004f
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-6282 Linux Kernel Improper Input Validation VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-53362 Linux Kernel Unspecified VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53197 Linux Kernel Out-of-Bounds Access VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-53104 Linux Kernel Out-of-Bounds Write VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-36971 Android Kernel Remote Code Execution VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.