{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3493","id":"CVE-2021-3493","title":"The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the settin…","description":"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.","descriptionLong":"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.","published":"2021-04-17T04:20:16.706Z","updated":"2026-06-17T04:05:12.177Z","reserved":"2021-04-12T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"canonical"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"canonical"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"ubuntu.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"high","products":["Ubuntu linux kernel"],"affectedProducts":[{"vendor":"Ubuntu","product":"linux kernel","defaultStatus":null,"versions":[{"lessThan":"5.8.0-50.56","status":"affected","version":"5.8 kernel","versionType":"custom"},{"lessThan":"5.4.0-72.80","status":"affected","version":"5.4 kernel","versionType":"custom"},{"lessThan":"4.15.0-142.146","status":"affected","version":"4.15 kernel","versionType":"custom"},{"lessThan":"4.4.0-209.241","status":"affected","version":"4.4 kernel","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-270","CWE-863"],"aliases":[],"references":[{"url":"https://ubuntu.com/security/notices/USN-4917-1","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://www.openwall.com/lists/oss-security/2021/04/16/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html","tags":["x_refsource_MISC","x_transferred","Press/Media Coverage","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493","tags":["government-resource","US Government Resource","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2022-10-20","kevDue":"2022-11-10","kevEntry":{"cveID":"CVE-2021-3493","vendorProject":"Linux","product":"Kernel","vulnerabilityName":"Linux Kernel Privilege Escalation Vulnerability","dateAdded":"2022-10-20","shortDescription":"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.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-11-10","knownRansomwareCampaignUse":"Unknown","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","cwes":["CWE-862"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.49166,"epssPercentile":0.98909,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3493","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3493","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3493","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2022-10-20"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3493","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["linux-kernel"],"critical":["Exploited in the wild (CISA KEV)","EPSS 49% with CVSS 8.8"],"attention":null}