CVE-2009-1895
The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the ADDR_COMPAT_LAYOUT and MMAP_PAGE_ZERO flags when executing a setuid or setgid program, which makes it easier for local users to leverage the details of memory usage to (1) conduct NULL pointer dereference attacks, (2) bypass the mmap_min_addr protection mechanism, or (3) defeat address space layout randomization (ASLR).
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-debug | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-debug-devel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-headers | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-128.4.1.el5 | RHSA-2009:1193 |
| Red Hat Enterprise Linux 4 | kernel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-devel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-doc | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-hugemem | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-hugemem-devel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-largesmp | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-largesmp-devel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-smp | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-smp-devel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-xenU | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 4 | kernel-xenU-devel | Fixed | 0:2.6.9-89.0.11.EL | RHSA-2009:1438 |
| Red Hat Enterprise Linux 3 | kernel | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-BOOT | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-doc | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-hugemem | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-hugemem-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-smp | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-smp-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-source | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
| Red Hat Enterprise Linux 3 | kernel-unsupported | Fixed | 0:2.4.21-63.EL | RHSA-2009:1550 |
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:
- https://rhn.redhat.com/errata/RHSA-2009-1540.html (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00223.html (vendor-advisory)
- http://www.debian.org/security/2009/dsa-1844 (vendor-advisory)
- http://www.ubuntu.com/usn/usn-807-1 (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2009-1193.html (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00166.html (vendor-advisory)
References
- http://www.securityfocus.com/archive/1/512019/100/0/threaded
- http://wiki.rpath.com/Advisories:rPSA-2009-0111
- http://secunia.com/advisories/36131
- http://www.osvdb.org/55807
- http://www.vupen.com/english/advisories/2009/1866
- https://rhn.redhat.com/errata/RHSA-2009-1540.html
- http://secunia.com/advisories/37471
- http://secunia.com/advisories/36759
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00223.html
- http://www.debian.org/security/2009/dsa-1844
- http://www.ubuntu.com/usn/usn-807-1
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.redhat.com/support/errata/RHSA-2009-1193.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f9fabcb58a6d26d6efde842d1703ac7cfa9427b6
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7826
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.