{"id":"CVE-2021-25319","aliases":["EUVD-2021-12216","GHSA-x9mv-6frm-qg9c","UBUNTU-CVE-2021-25319","openSUSE-SU-2021:0723-1","openSUSE-SU-2021:0977-1"],"status":"published","title":"virtualbox: missing sticky bit for /etc/vbox allows local root exploit for members of vboxusers group","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","severity":{"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00255,"percentile":0.17257,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-276"],"published":"2021-05-05T08:25:13Z","modified":"2026-10-17T12:57:11Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.4-dfsg-2","5.0.8-dfsg-1","5.0.10-dfsg-1","5.0.10-dfsg-2","5.0.10-dfsg-3","5.0.10-dfsg-4","5.0.10-dfsg-5","5.0.10-dfsg-6","5.0.10-dfsg-7","5.0.12-dfsg-1","5.0.12-dfsg-2","5.0.14-dfsg-1","5.0.14-dfsg-2","5.0.14-dfsg-2build1","5.0.16-dfsg-2","5.0.16-dfsg-3","5.0.18-dfsg-1","5.0.18-dfsg-1ubuntu1","5.0.18-dfsg-2","5.0.18-dfsg-2build1","5.0.18-dfsg-2ubuntu1","5.0.24-dfsg-0ubuntu1.16.04.1","5.0.32-dfsg-0ubuntu1.16.04.2","5.0.36-dfsg-0ubuntu1.16.04.2","5.0.40-dfsg-0ubuntu1.16.04.1","5.0.40-dfsg-0ubuntu1.16.04.2","5.1.34-dfsg-0ubuntu1.16.04.2","5.1.38-dfsg-0ubuntu1.16.04.1","5.1.38-dfsg-0ubuntu1.16.04.2","5.1.38-dfsg-0ubuntu1.16.04.3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.30-dfsg-1","5.2.0-dfsg-1build2","5.2.0-dfsg-2","5.2.0-dfsg-4","5.2.0-dfsg-5","5.2.2-dfsg-2","5.2.2-dfsg-3~build1","5.2.2-dfsg-3","5.2.4-dfsg-1","5.2.4-dfsg-2","5.2.6-dfsg-1","5.2.6-dfsg-2","5.2.6-dfsg-3","5.2.6-dfsg-3build1","5.2.6-dfsg-5","5.2.8-dfsg-2","5.2.8-dfsg-3","5.2.8-dfsg-5","5.2.8-dfsg-6","5.2.8-dfsg-7","5.2.10-dfsg-1","5.2.10-dfsg-2","5.2.10-dfsg-5","5.2.10-dfsg-6","5.2.10-dfsg-6ubuntu18.04.1","5.2.18-dfsg-2~ubuntu18.04.1","5.2.18-dfsg-2~ubuntu18.04.3","5.2.18-dfsg-2~ubuntu18.04.5","5.2.32-dfsg-0~ubuntu18.04.1","5.2.34-dfsg-0~ubuntu18.04.1","5.2.42-dfsg-0~ubuntu1.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.14-dfsg-1","6.0.14-dfsg-2~build1","6.0.14-dfsg-2","6.1.0-dfsg-3build1","6.1.0-dfsg-3build2","6.1.2-dfsg-1","6.1.2-dfsg-1build1","6.1.4-dfsg-1","6.1.4-dfsg-2~build1","6.1.4-dfsg-2","6.1.4-dfsg-4","6.1.6-dfsg-1","6.1.10-dfsg-1~ubuntu1.20.04.1","6.1.16-dfsg-6~ubuntu1.20.04.1","6.1.16-dfsg-6~ubuntu1.20.04.2","6.1.22-dfsg-2~ubuntu1.20.04.1","6.1.26-dfsg-3~ubuntu1.20.04.1","6.1.26-dfsg-3~ubuntu1.20.04.2","6.1.32-dfsg-1~ubuntu1.20.04.1","6.1.34-dfsg-3~ubuntu1.20.04.1","6.1.38-dfsg-3~ubuntu1.20.04.1","6.1.48-dfsg-1~ubuntu1.20.04.1","6.1.50-dfsg-1~ubuntu1.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.26-dfsg-4","6.1.28-dfsg-1","6.1.30-dfsg-1","6.1.32-dfsg-1","6.1.32-dfsg-1build1","6.1.34-dfsg-3~ubuntu1.22.04.1","6.1.38-dfsg-3~ubuntu1.22.04.1","6.1.48-dfsg-1~ubuntu1.22.04.1","6.1.50-dfsg-1~ubuntu1.22.04.1","6.1.50-dfsg-1~ubuntu1.22.04.3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.10-dfsg-3","7.0.12-dfsg-1","7.0.12-dfsg-1build1","7.0.14-dfsg-1","7.0.14-dfsg-2","7.0.14-dfsg-4","7.0.14-dfsg-4build4","7.0.14-dfsg-4build5","7.0.16-dfsg-1","7.0.16-dfsg-2","7.0.16-dfsg-2ubuntu1","7.0.16-dfsg-2ubuntu1.1","7.0.16-dfsg-2ubuntu1.3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.20-dfsg-1.2","7.0.26-dfsg-1","7.1.8-dfsg-2","7.1.8-dfsg-3","7.1.8-dfsg-3build1","7.1.10-dfsg-1","7.1.12-dfsg-1","7.1.12-dfsg-2","7.2.0-dfsg-2","7.2.0-dfsg-3","7.2.2-dfsg-2","7.2.2-dfsg-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.6-dfsg-4","7.2.8-dfsg-1","7.2.14-dfsg-3","7.2.16-dfsg-1","7.2.18-dfsg-1","7.2.20-dfsg-1","7.2.20-dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.2-dfsg-2","7.2.2-dfsg-3","7.2.4-dfsg-1","7.2.4-dfsg-1build1","7.2.4-dfsg-2~build1","7.2.4-dfsg-3","7.2.6-dfsg-3","7.2.6-dfsg-3ubuntu1","7.2.6-dfsg-3.2","7.2.6-dfsg-4"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.22-lp152.2.24.2"}]}],"bundled":21},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"virtualbox-kmp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.22-lp152.2.24.2"}]}],"bundled":21},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"virtualbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.22-lp153.2.3.2"}]}],"bundled":21},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"virtualbox-kmp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.22-lp153.2.3.2"}]}],"bundled":21}],"products":[{"vendor":"opensuse","product":"factory"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1182918","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25319"},{"url":"https://github.com/advisories/GHSA-x9mv-6frm-qg9c"},{"url":"https://ubuntu.com/security/CVE-2021-25319","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2021/04/26/2","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-25319","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/H2VYFQN75RCOBQFQCIU4LU7E32CGO4SK/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1182918","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2145","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2250","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2264","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2266","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2279","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2280","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2281","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2282","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2283","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2284","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2285","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2286","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2287","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2291","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2296","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2297","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2306","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2309","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2310","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-2312","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-25319","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ATNJPOC23AR5PQLUDKUL5FXOOPOM3VDD/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1186361","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-25319","title":"virtualbox: missing sticky bit for /etc/vbox allows local root exploit for members of vboxusers group","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","status":"published","published":"2021-05-05T08:25:13.677Z","modified":"2024-09-16T22:24:55.435Z","cvss":[{"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","level":"high","assessor":"cna"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2021-12216","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","status":"published","published":"2021-05-05T08:25:13Z","modified":"2024-09-16T22:24:55Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-03T00:55:03.452021Z"}],"ghsa":[{"id":"GHSA-x9mv-6frm-qg9c","title":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory...","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","status":"published","published":"2022-05-24T17:49:27Z","modified":"2023-01-29T05:06:35Z","cwes":["CWE-276"],"updated_at":"2026-11-02T14:46:03.455343Z"}],"nvd":[{"id":"CVE-2021-25319","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","status":"published","published":"2021-05-05T09:15:07.88Z","modified":"2026-06-17T03:41:49.293Z","cvss":[{"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","level":"high","assessor":"secondary"},{"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","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:06:52.81233Z"}],"osv":[{"id":"UBUNTU-CVE-2021-25319","description":"A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.","status":"published","published":"2021-05-05T09:15:00Z","modified":"2026-10-17T12:57:11.840487086Z","cvss":[{"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","level":"high"},{"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","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"openSUSE-SU-2021:0723-1","title":"Security update for virtualbox","description":"This update for virtualbox fixes the following issues:\n\nvirtualbox was updated to 6.1.22 (released April 29 2021 by Oracle)\n\nThis is a maintenance release. The following items were fixed and/or added:\n\n- VMM: Improved performance of 64-bit Windows and Solaris guests when Hyper-V is used on recent Windows 10 hosts\n- VMM: Fixed frequent crashes of 64-bit Windows Vista and Server 2003 guests when Hyper-V is used\n- GUI: Fixed regression where user was not able to save unset default shortcuts (bug #20305)\n- Storage: Fixed regression in LsiLogic SAS controller emulation caused VM crash (bug #20323)\n- Linux Guest Additions: Fixed issue when it was not possible to run executables from mounted share (bug #20320)\n- Fixes for CVE-2021-2145 CVE-2021-2250 CVE-2021-2264 CVE-2021-2266 CVE-2021-2279 CVE-2021-2280\n            CVE-2021-2281 CVE-2021-2282 CVE-2021-2283 CVE-2021-2284 CVE-2021-2285 CVE-2021-2286\n            CVE-2021-2287 CVE-2021-2291 CVE-2021-2296 CVE-2021-2297 CVE-2021-2306 CVE-2021-2309\n            CVE-2021-2310 CVE-2021-2312\n\n- Version bump to (released April 20 2021 by Oracle)\n  File 'virtualbox-kmp-files-leap' is deleted.\n- Use distconfdir for xinitrc.d files on TW\n\n- Improve autostart security boo#1182918. ","status":"published","published":"2021-10-09T08:28:18Z","modified":"2025-05-07T18:12:26.877368Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:0977-1","title":"Security update for virtualbox","description":"This update for virtualbox fixes the following issues:\n\n- Update vboxdrv.sh per boo#1186361\n\nVersion bump to 6.1.22 (released April 29 2021 by Oracle)\n\n- This is a maintenance release. The following items were fixed and/or added:\n- VMM: Improved performance of 64-bit Windows and Solaris guests when Hyper-V is used on recent Windows 10 hosts\n- VMM: Fixed frequent crashes of 64-bit Windows Vista and Server 2003 guests when Hyper-V is used\n- GUI: Fixed regression where user was not able to save unset default shortcuts (bug #20305)\n- Storage: Fixed regression in LsiLogic SAS controller emulation caused VM crash (bug #20323)\n- Linux Guest Additions: Fixed issue when it was not possible to run executables from mounted share (bug #20320)\n- Fixes for CVE-2021-2145 CVE-2021-2250 CVE-2021-2264 CVE-2021-2266 CVE-2021-2279 CVE-2021-2280\n            CVE-2021-2281 CVE-2021-2282 CVE-2021-2283 CVE-2021-2284 CVE-2021-2285 CVE-2021-2286\n            CVE-2021-2287 CVE-2021-2291 CVE-2021-2296 CVE-2021-2297 CVE-2021-2306 CVE-2021-2309\n            CVE-2021-2310 CVE-2021-2312\n\n- Improve autostart security boo#1182918. ","status":"published","published":"2021-10-09T08:34:52Z","modified":"2026-02-04T03:02:06.455971Z","updated_at":"2026-11-02T16:58:31.879684Z"}]}}
