CVE-2014-4014
Description
The capabilities implementation in the Linux kernel before 3.14.8 does not properly consider that namespaces are inapplicable to inodes, which allows local users to bypass intended chmod restrictions by first creating a user namespace, as demonstrated by setting the setgid bit on a file with group ownership of root.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 3.13 - SGID Privilege Escalation
OS impact
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 3.14.8 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.14.7-1 |
| sid | Fixed | 3.14.7-1 |
| forky | Fixed | 3.14.7-1 |
| bullseye | Fixed | 3.14.7-1 |
| bookworm | Fixed | 3.14.7-1 |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=23adbe12ef7d3d4195e80800ab36b37bee28cd03
- http://secunia.com/advisories/59220
- http://www.exploit-db.com/exploits/33824
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.8
- http://www.openwall.com/lists/oss-security/2014/06/10/4
- http://www.securityfocus.com/bid/67988
- http://www.securitytracker.com/id/1030394
- https://bugzilla.redhat.com/show_bug.cgi?id=1107966
- https://github.com/torvalds/linux/commit/23adbe12ef7d3d4195e80800ab36b37bee28cd03
- https://source.android.com/security/bulletin/2016-12-01.html
- https://security-tracker.debian.org/tracker/CVE-2014-4014
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.