{"id":"CVE-2021-3493","aliases":["CVE-2021-3493"],"related":[],"kind":"vulnerability","state":"published","title":"Linux Kernel Privilege Escalation Vulnerability","summary":"The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts, an attacker could use this to gain elevated privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts, an attacker could use this to gain elevated privileges.","source":"cvelist"},{"lang":"es","text":"La implementación de overlayfs en el kernel de Linux no comprobó apropiadamente con respecto a los espacios de nombre de los usuarios, la configuración de las capacidades de los archivos en un sistema de archivos subyacente.&#xa0;Debido a la combinación de los espacios de nombre de usuarios no privilegiados junto con un parche incluido en el kernel de Ubuntu para permitir montajes de superposición no privilegiados, un atacante podría usar esto para alcanzar privilegios elevados","source":"nvd"},{"lang":"en","text":"The overlayfs stacking file system in Linux kernel does not properly validate the application of file capabilities against user namespaces, which could lead to privilege escalation.","source":"kev"}],"published":"2021-04-17T04:20:16.706Z","modified":"2026-06-17T04:05:12.177Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-270","CWE-862","CWE-863"],"affected":[{"ranges":[{"type":"custom","introduced":"5.8 kernel","fixed":"5.8.0-50.56","status":"affected"},{"type":"custom","introduced":"5.4 kernel","fixed":"5.4.0-72.80","status":"affected"},{"type":"custom","introduced":"4.15 kernel","fixed":"4.15.0-142.146","status":"affected"},{"type":"custom","introduced":"4.4 kernel","fixed":"4.4.0-209.241","status":"affected"}],"vendor":"Ubuntu","product":"linux kernel","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"18.04"},{"status":"affected","introduced":"18.04.1","fixed":"20.04"},{"status":"affected","fixed":"20.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Linux","product":"Kernel","source":"kev"}],"references":[{"url":"https://ubuntu.com/security/notices/USN-4917-1","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52","tags":["kev","mailing-list","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","kev"]},{"url":"https://www.openwall.com/lists/oss-security/2021/04/16/1","tags":["mailing-list","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html","tags":["press/media-coverage","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3493","tags":["kev"],"sources":["kev"]}],"credits":["An independent security researcher reporting to the SSD Secure Disclosure program"],"assigner":"canonical","kev":{"dateAdded":"2022-10-20","dueDate":"2022-11-10","name":"Linux Kernel Privilege Escalation Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":false,"notes":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52; https://nvd.nist.gov/vuln/detail/CVE-2021-3493"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"no","technicalImpact":"total","date":"2025-02-07T12:30:18.913Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3493","url":"https://www.cve.org/CVERecord?id=CVE-2021-3493","licence":"CVE Terms of Use","modified":"2025-10-21T23:25:48.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3493","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3493","licence":"Public domain","modified":"2026-06-17T04:05:12.177Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2021-3493","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-3493","licence":"CC0-1.0","modified":"2022-10-20T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:58:00.849Z","epss":{"score":0.49166,"percentile":0.98907,"date":"2026-12-01T12:00:22.000Z"}}