Mishandling of file-system uid/gid with namespaces in shiftfs
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Ubuntu | Shiftfs in the Linux kernel | 5.3.0-11.12 and later; 5.0 kernel to before 5.0.0-35.38 | 5.0.0-35.38 | Patch available | CNA |
- Shiftfs in the Linux kernel VendorUbuntu Affected 5.3.0-11.12 and later; 5.0 kernel to before 5.0.0-35.38 Fixed in 5.0.0-35.38 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.3:*:*:*:*:*:*:* | 5.3 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.3:*:*:*:*:*:*:* Versions 5.3 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
Remediation
- Fix · CNA Shiftfs in the Linux kernel (Ubuntu) Fixed in 5.0.0-35.38
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Ubuntu Shiftfs in the Linux kernel 5.0.0-35.38, 5.3 kernel*
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2019-11862 Reference count underflow in shiftfsPriority LOW 37
- TI-2019-11863 Type confusion in shiftfsPriority LOW 36
Timeline
- 2026-10-02 Threatist record created from CVE-2019-15793
- 2026-10-03 Alias added: GHSA-h5g7-x752-wjh8
References
More Ubuntu vulnerabilities
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2007-05153 Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD… CVSS 2.0HIGH 7.2
- TI-2004-01032 Multiple vulnerabilities in the IGMP functionality for Linux kernel 2.4.22 to 2.4.28, and… CVSS 2.0HIGH 10.0
- TI-2004-00896 Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other… CVSS 2.0HIGH 10.0
- TI-2004-00800 Buffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may… CVSS 2.0HIGH 10.0
- TI-2004-00962 Buffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to… CVSS 2.0HIGH 10.0
Sources
- CVE-2019-15793 · CVE Program
- CVE-2019-15793 · NVD
- FIRST EPSS
- GHSA-h5g7-x752-wjh8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences