CVE-2019-15793

Mishandling of file-system uid/gid with namespaces in shiftfs

State
Published
Severity
6.5 Medium
Published
Apr 23, 2020
Updated
Sep 16, 2024
Reserved
Aug 29, 2019

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:Ncanonical

Weaknesses

  • CWE-538 File and Directory Information Exposure

Affected Products

ProductVersions
Shiftfs in the Linux kernelUbuntu
  • 5.3.0-11.12 to before 5.3 kernel*Affectedfrom 5.3.0-22.24Not affected
  • 5.0 kernel to before 5.0.0-35.38Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.