CVE-2009-1895 Security feature bypass in n/a

High 7.2 Published Updated

Local attackers can bypass ASLR and mmap_min_addr protections via personality flags, facilitating privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2009-1895?

CVE-2009-1895 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 16 Jul 2009. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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).

Weakness: CWE-16

Which versions are affected by CVE-2009-1895?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.

How do I fix CVE-2009-1895?

Upgrade to a fixed version.

Is CVE-2009-1895 being exploited?

There is no known exploitation of CVE-2009-1895 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-rgcw-fh34-72mm.

Is CVE-2009-1895 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free