CVEfocus › CVE database › CVE-2012-0056

CVE-2012-0056

EPSS 10.8% (higher than 96% of CVEs)Published 2012-01-27Updated 2024-08-06Assigner: redhat

The mem_write function in the Linux kernel before 3.2.2, when ASLR is disabled, does not properly check permissions when writing to /proc/<pid>/mem, which allows local users to gain privileges by modifying process memory, as demonstrated by Mempodipper.

What to do

Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

16Fixed
2Fix pending
1Will not fix
18Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-floNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-goldfishNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-makoNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-floNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-goldfishNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-grouperFix pending
Ubuntu 14.04linux-lts-utopicNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-lts-vividNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-lts-wilyNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-maguroFix pending
Ubuntu 14.04linux-makoNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-mantaNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 6kernelFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-bootwrapperFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debugFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debug-develFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debuginfo-common-i686Fixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debuginfo-common-ppc64Fixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debuginfo-common-s390xFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-debuginfo-common-x86_64Fixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-develFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-docFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-firmwareFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-headersFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-kdumpFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6kernel-kdump-develFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6perfFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 6python-perfFixed0:2.6.32-220.4.1.el6RHSA-2012:0052
Red Hat Enterprise Linux 5kernelWill not fix
Will not fix
Red Hat Enterprise Linux 4kernelNot affected

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:

References

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.