CVE-2013-2851 Memory corruption in n/a

Medium 6.0 Published Updated

Local attackers with root access can escalate privileges via a format string vulnerability in the Linux kernel's disk registration function.

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-2013-2851?

CVE-2013-2851 is a medium-severity memory corruption vulnerability in Linux kernel, published on 7 Jun 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Format string vulnerability in the register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.

Weakness: CWE-134

Which versions are affected by CVE-2013-2851?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2013-2851?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2013-2851 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-2851, GHSA-m8m5-89h4-8cjh.

Is CVE-2013-2851 in your software?

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

Check your SBOMs for free