CVEfocus › CVE database › CVE-2012-2123

CVE-2012-2123

EPSS 0.4% (higher than 35% of CVEs)Published 2012-05-17Updated 2024-08-06Assigner: redhat

The cap_bprm_set_creds function in security/commoncap.c in the Linux kernel before 3.3.3 does not properly handle the use of file system capabilities (aka fcaps) for implementing a privileged executable file, which allows local users to bypass intended personality restrictions via a crafted application, as demonstrated by an attack that uses a parent process to disable ASLR.

What to do

Fixed builds are available from Red Hat: 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

16Fixed
2Fix pending
1Will not fix
18Not 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-floNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-goldfishNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-makoNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-floNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-goldfishNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-grouperFix pending
Ubuntu 14.04linux-lts-utopicNot affected
vulnerable_code_not_present
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-makoNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-mantaNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 6kernelFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-bootwrapperFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debugFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debug-develFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debuginfo-common-i686Fixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debuginfo-common-ppc64Fixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debuginfo-common-s390xFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-debuginfo-common-x86_64Fixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-develFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-docFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-firmwareFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-headersFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-kdumpFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6kernel-kdump-develFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6perfFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 6python-perfFixed0:2.6.32-220.23.1.el6RHSA-2012:0743
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 4kernelWill not fix
Will not fix

What the vendor says

As published in the CVE record by redhat, 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.