CVE-2012-2123

kernel: fcaps: clear the same personality flags as suid when fcaps are used

Published May 17, 2012 CVSS 2.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2469-1 linux-2.6 security update
EUVD EUVD EUVD-2012-2125 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.
Ubuntu USN Ubuntu USN USN-1445-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-1448-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-1452-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-1453-1 Linux kernel (EC2) vulnerabilities
Ubuntu USN Ubuntu USN USN-1455-1 Linux kernel (Oneiric backport) vulnerabilities
Ubuntu USN Ubuntu USN USN-1457-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-1459-1 Linux kernel (OMAP4) vulnerabilities
Ubuntu USN Ubuntu USN USN-1460-1 Linux kernel (OMAP4) vulnerabilities
Ubuntu USN Ubuntu USN USN-1470-1 Linux kernel (Natty backport) vulnerabilities
Ubuntu USN Ubuntu USN USN-1530-1 Linux kernel (OMAP4) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 7:26 PM
Reserved
Apr 4, 2012, 12:00 AM
Status
Modified
Published
May 17, 2012, 11:00 AM
Modified
Jun 16, 2026, 11:41 PM
Severity
Important
Public date
Apr 17, 2012, 12:00 AM