{"id":"CVE-2019-15793","published":"2020-04-23T23:55:24Z","modified":"2024-09-16T16:58:57Z","title":"Mishandling of file-system uid/gid with namespaces in shiftfs","vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00685,"percentile":0.53529,"provenance":"source"},"cwes":[{"id":"CWE-538","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory"}],"references":[{"url":"https://usn.ubuntu.com/usn/usn-4183-1","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/usn/usn-4184-1","tags":["x_refsource_MISC"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":10.71},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-11-20"},"first":{"date":"2019-11-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/47693"},"provenance":"source"},"vendorSlug":"ubuntu","affectedVersions":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":[">= 5.3.0-11.12, < 5.3 kernel*",">= 5.0 kernel, < 5.0.0-35.38"]}],"fixedVersions":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":["5.3.0-22.24"]}],"euvd":{"id":"EUVD-2019-6716","exploited":false,"provenance":"source"},"exploits":[{"id":47693,"url":"https://www.exploit-db.com/exploits/47693","title":"Ubuntu 19.10 - Refcount Underflow and Type Confusion in shiftfs","date":"2019-11-20","verified":true,"provenance":"source"}]}