CVEfocus › CVE database › CVE-2015-3339

CVE-2015-3339

EPSS 0.3% (higher than 25% of CVEs)Published 2015-05-27Updated 2024-08-06Assigner: mitre

Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by executing a setuid program at a time instant when a chown to root is in progress, and the ownership is changed but the setuid bit is not yet stripped.

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

41Fixed
9Fix pending
1Will not fix
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-floFix pending
Ubuntu 16.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-goldfishFix pending
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-makoFix pending
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linuxFixed3.13.0-52.85UBUNTU-CVE-2015-3339
Ubuntu 14.04linux-floFix pending
Ubuntu 14.04linux-goldfishFix pending
Ubuntu 14.04linux-grouperFix pending
Ubuntu 14.04linux-lts-utopicFixed3.16.0-37.49~14.04.1UBUNTU-CVE-2015-3339
Ubuntu 14.04linux-lts-vividNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-lts-wilyNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-maguroFix pending
Ubuntu 14.04linux-makoFix pending
Ubuntu 14.04linux-mantaFix pending
Debian 14linuxFixed3.16.7-ckt9-3DEBIAN-CVE-2015-3339
Debian 13linuxFixed3.16.7-ckt9-3DEBIAN-CVE-2015-3339
Debian 12linuxFixed3.16.7-ckt9-3DEBIAN-CVE-2015-3339
Red Hat Enterprise Linux 7kernelFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-abi-whitelistsFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-bootwrapperFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debugFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debug-develFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debuginfo-common-ppc64Fixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debuginfo-common-ppc64leFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debuginfo-common-s390xFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-debuginfo-common-x86_64Fixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-develFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-docFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-headersFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-kdumpFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-kdump-develFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-toolsFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-tools-libsFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7kernel-tools-libs-develFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7perfFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 7python-perfFixed0:3.10.0-327.el7RHSA-2015:2152
Red Hat Enterprise Linux 6kernelFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-abi-whitelistsFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-bootwrapperFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debugFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debug-develFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debuginfo-common-i686Fixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debuginfo-common-ppc64Fixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debuginfo-common-s390xFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-debuginfo-common-x86_64Fixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-develFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-docFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-firmwareFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-headersFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-kdumpFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6kernel-kdump-develFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6perfFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 6python-perfFixed0:2.6.32-573.el6RHSA-2015:1272
Red Hat Enterprise Linux 5kernelWill not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.