The cap_bprm_set_creds function in security/commoncap.c in the Linux kernel before 3.3.3…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Partial Red Hat: 9 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2012:0743 Released 2012-06-18 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) kernel-2.6.32-220.23.1.el6, kernel-debug-2.6.32-220.23.1.el6, kernel-debug-devel-2.6.32-220.23.1.el6 +5
- Red Hat Enterprise Linux Desktop Optional (v. 6) kernel-2.6.32-220.23.1.el6, python-perf-2.6.32-220.23.1.el6
- Red Hat Enterprise Linux HPC Node (v. 6) kernel-2.6.32-220.23.1.el6, kernel-debug-2.6.32-220.23.1.el6, kernel-debug-devel-2.6.32-220.23.1.el6 +5
- Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel-2.6.32-220.23.1.el6, python-perf-2.6.32-220.23.1.el6
- Red Hat Enterprise Linux Server (v. 6) kernel-2.6.32-220.23.1.el6, kernel-bootwrapper-2.6.32-220.23.1.el6, kernel-debug-2.6.32-220.23.1.el6 +8
- Red Hat Enterprise Linux Server Optional (v. 6) kernel-2.6.32-220.23.1.el6, python-perf-2.6.32-220.23.1.el6
- Red Hat Enterprise Linux Workstation (v. 6) kernel-2.6.32-220.23.1.el6, kernel-debug-2.6.32-220.23.1.el6, kernel-debug-devel-2.6.32-220.23.1.el6 +5
- Red Hat Enterprise Linux Workstation Optional (v. 6) kernel-2.6.32-220.23.1.el6, python-perf-2.6.32-220.23.1.el6
- RHSA-2012:0670 Released 2012-05-15 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-3.0.30-rt50.62.el6rt, kernel-rt-debug-3.0.30-rt50.62.el6rt, kernel-rt-debug-devel-3.0.30-rt50.62.el6rt +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2012:0743 |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2012:0670 |
Not affected: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2123
- 2026-10-03 Alias added: GHSA-875p-6x4g-fjc2
References
Advisory 6
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2012-2123 · CVE Program
- CVE-2012-2123 · NVD
- FIRST EPSS
- GHSA-875p-6x4g-fjc2 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2123 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences