kernel: fcaps: clear the same personality flags as suid when fcaps are used
Published May 17, 2012
7.2
HIGHCVSS 2.0
EPSS 0.42%
Description
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.
Affected products
No data.
- < 3.0.29
- ≥ 3.1 · < 3.2.16
- ≥ 3.3 · < 3.3.3
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-220.23.1.el6
Fixed · RHSA-2012:0743
Red Hat Enterprise MRG 2
kernel-rt-0:3.0.30-rt50.62.el6rt
Fixed · RHSA-2012:0670
Red Hat Enterprise Linux 4
kernel
Will not fix
Red Hat Enterprise Linux 5
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-220.23.1.el6 | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise MRG 2 | kernel-rt-0:3.0.30-rt50.62.el6rt | Fixed | RHSA-2012:0670 |
| Red Hat Enterprise Linux 4 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the Linux kernel as shipped with Red Hat Enterprise Linux 4, and 5. This has been addressed in Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2012-0670.html. This has been addressed in Red Hat Enterprise Linux 6 via https://rhn.redhat.com/errata/RHSA-2012-0743.html.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.42% (0.00418) | 33.81th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.42% (0.00418) | 33.19th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00043) | 10.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 14.69th | v3 (v2023.03.01) |
| Jun 24, 2024 | 0.04% (0.00044) | 12.81th | v3 (v2023.03.01) |
| Oct 13, 2023 | 0.04% (0.00044) | 10.81th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.28% (0.01282) | 67.79th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.55% (0.01547) | 74.40th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
References (14)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=d52fc5dde171f030170a6cb78034d166b13c9445 x_refsource_CONFIRMBroken Link
- http://rhn.redhat.com/errata/RHSA-2012-0670.html vendor-advisoryx_refsource_REDHATThird Party AdvisoryVDB Entry
- http://rhn.redhat.com/errata/RHSA-2012-0743.html vendor-advisoryx_refsource_REDHATThird Party AdvisoryVDB Entry
- http://www.debian.org/security/2012/dsa-2469 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.3 x_refsource_CONFIRMVendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/20/6 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/53166 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1027072 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2012-2123 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=806722 x_refsource_CONFIRMIssue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75043 vdb-entryx_refsource_XFVDB Entry
- https://github.com/torvalds/linux/commit/d52fc5dde171f030170a6cb78034d166b13c9445 x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2012-2123
- https://www.cve.org/CVERecord?id=CVE-2012-2123
Change history (0)
No recorded changes yet.