Format string error in Linux kernel - CVE-2013-2851

 

Format string error in Linux kernel - CVE-2013-2851

Published: June 7, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU42791
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2013-2851
CWE-ID: CWE-134
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local #AU# to execute arbitrary code.

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.


How to mitigate CVE-2013-2851

Install update from vendor's website.

Sources