CVE-2012-6538 Information disclosure in n/a

Low 1.9 Published Updated

Local attackers with CAP_NET_ADMIN can read sensitive kernel heap memory due to improper string copying in the xfrm subsystem.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-6538?

CVE-2012-6538 is a low-severity vulnerability in Linux kernel, published on 14 Mar 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The copy_to_user_auth function in net/xfrm/xfrm_user.c in the Linux kernel before 3.6 uses an incorrect C library function for copying a string, which allows local users to obtain sensitive information from kernel heap memory by leveraging the CAP_NET_ADMIN capability.

Weakness: CWE-200

Which versions are affected by CVE-2012-6538?

It affects 2 products.

Products include Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2012-6538?

Upgrade to a fixed version.

Is CVE-2012-6538 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-6538, GHSA-q428-g62p-pgvx.

Is CVE-2012-6538 in your software?

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

Check your SBOMs for free