First published: Tue Apr 21 2015(Updated: )
A race condition flaw was found between the chown() and execve() system calls. When changing the owner of a setuid-user binary to root, the race condition could momentarily make the binary setuid root. When root chown()ed an attacker-owned setuid file to root, the file briefly was setuid root (and executable as such). An attacker could take advantage of this small window and execute a setuid binary with elevated privileges. Upstream patch: <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8b01fc86b9f425899f8a3a8fc1c47d73c2c20543">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8b01fc86b9f425899f8a3a8fc1c47d73c2c20543</a> Additional details: <a href="http://seclists.org/oss-sec/2015/q2/216">http://seclists.org/oss-sec/2015/q2/216</a>
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <=3.19.5 | |
Debian Linux | =7.0 | |
Debian Linux | =8.0 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.133-1 6.12.22-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2015-3339 has a medium severity rating due to the potential for privilege escalation.
To fix CVE-2015-3339, ensure you update to the patched versions of the Linux kernel or Debian packages that address this vulnerability.
CVE-2015-3339 affects multiple versions of the Linux kernel up to 3.19.5 and both Debian 7.0 and 8.0 distributions.
CVE-2015-3339 exploits a race condition between the chown() and execve() system calls, allowing unauthorized users to gain root privileges.
Yes, there are known exploits for CVE-2015-3339 that can allow an attacker to exploit privilege escalation opportunities in affected systems.