CVE-2016-7097
What it is
The filesystem implementation in the Linux kernel through 4.8.2 preserves the setgid bit during a setxattr call, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-285
- Record status
- Modified
Affected
- Linux Kernel ≤ 4.8.2
Attack profile CVSS 3.0 · 4.4
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-7097.md and follow it. Check whether this project is affected by CVE-2016-7097. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://www.openwall.com/lists/oss-security/2016/08/26/3
- http://www.securityfocus.com/bid/92659
- http://www.securitytracker.com/id/1038201
- http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- http://www.ubuntu.com/usn/USN-3146-1
- http://www.ubuntu.com/usn/USN-3146-2
- http://www.ubuntu.com/usn/USN-3147-1
- https://access.redhat.com/errata/RHSA-2017:1842
- https://access.redhat.com/errata/RHSA-2017:2077
- https://access.redhat.com/errata/RHSA-2017:2669
- https://bugzilla.redhat.com/show_bug.cgi?id=1368938
- https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
- https://source.android.com/security/bulletin/2017-04-01
- https://support.f5.com/csp/article/K31603170?utm_source=f5support&%3Butm_medium=RSS
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://www.openwall.com/lists/oss-security/2016/08/26/3
- http://www.securityfocus.com/bid/92659
- http://www.securitytracker.com/id/1038201
- http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- http://www.ubuntu.com/usn/USN-3146-1