CVE Vulnerabilities

CVE-2013-2851

Use of Externally-Controlled Format String

Published: Jun 07, 2013 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6 MEDIUM
AV:L/AC:H/Au:S/C:C/I:C/A:C
RedHat/V2
6 LOW
AV:L/AC:H/Au:S/C:C/I:C/A:C
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

NameVendorStart VersionEnd Version
Linux_kernelLinux*3.9.4 (including)
Linux_kernelLinux3.9-rc1 (including)3.9-rc1 (including)
Linux_kernelLinux3.9-rc2 (including)3.9-rc2 (including)
Linux_kernelLinux3.9-rc3 (including)3.9-rc3 (including)
Linux_kernelLinux3.9-rc4 (including)3.9-rc4 (including)
Linux_kernelLinux3.9-rc5 (including)3.9-rc5 (including)
Linux_kernelLinux3.9-rc6 (including)3.9-rc6 (including)
Linux_kernelLinux3.9-rc7 (including)3.9-rc7 (including)
Linux_kernelLinux3.9.0 (including)3.9.0 (including)
Linux_kernelLinux3.9.1 (including)3.9.1 (including)
Linux_kernelLinux3.9.2 (including)3.9.2 (including)
Linux_kernelLinux3.9.3 (including)3.9.3 (including)
Red Hat Enterprise Linux 6RedHatkernel-0:2.6.32-431.el6*
Red Hat Enterprise Linux 6.3 EUS - Server and Compute Node OnlyRedHatkernel-0:2.6.32-279.39.1.el6*
Red Hat Enterprise Linux 6.4 Extended Update SupportRedHatkernel-0:2.6.32-358.37.1.el6*
Red Hat Enterprise MRG 2RedHatkernel-rt-0:3.6.11.5-rt37.55.el6rt*
LinuxUbuntulucid*
LinuxUbuntuprecise*
LinuxUbuntuprecise/esm*
LinuxUbuntuquantal*
LinuxUbunturaring*
LinuxUbuntuupstream*
Linux-armadaxpUbuntuprecise*
Linux-armadaxpUbuntuquantal*
Linux-armadaxpUbuntuupstream*
Linux-awsUbuntuupstream*
Linux-ec2Ubuntulucid*
Linux-ec2Ubuntuupstream*
Linux-floUbuntutrusty*
Linux-floUbuntutrusty/esm*
Linux-floUbuntuupstream*
Linux-floUbuntuutopic*
Linux-floUbuntuvivid*
Linux-floUbuntuvivid/stable-phone-overlay*
Linux-floUbuntuwily*
Linux-floUbuntuxenial*
Linux-floUbuntuyakkety*
Linux-fsl-imx51Ubuntulucid*
Linux-fsl-imx51Ubuntuupstream*
Linux-gkeUbuntuupstream*
Linux-goldfishUbuntusaucy*
Linux-goldfishUbuntutrusty*
Linux-goldfishUbuntutrusty/esm*
Linux-goldfishUbuntuupstream*
Linux-grouperUbuntusaucy*
Linux-grouperUbuntutrusty*
Linux-grouperUbuntuupstream*
Linux-grouperUbuntuutopic*
Linux-hweUbuntuupstream*
Linux-hwe-edgeUbuntuupstream*
Linux-linaro-omapUbuntuprecise*
Linux-linaro-omapUbuntuquantal*
Linux-linaro-omapUbuntuupstream*
Linux-linaro-sharedUbuntuprecise*
Linux-linaro-sharedUbuntuquantal*
Linux-linaro-sharedUbuntuupstream*
Linux-linaro-vexpressUbuntuprecise*
Linux-linaro-vexpressUbuntuquantal*
Linux-linaro-vexpressUbuntuupstream*
Linux-lts-backport-maverickUbuntulucid*
Linux-lts-backport-maverickUbuntuupstream*
Linux-lts-quantalUbuntuprecise*
Linux-lts-quantalUbuntuupstream*
Linux-lts-raringUbuntuprecise*
Linux-lts-raringUbuntuupstream*
Linux-lts-trustyUbuntuupstream*
Linux-lts-utopicUbuntuupstream*
Linux-lts-vividUbuntuupstream*
Linux-lts-wilyUbuntuupstream*
Linux-lts-xenialUbuntuupstream*
Linux-maguroUbuntusaucy*
Linux-maguroUbuntutrusty*
Linux-maguroUbuntuupstream*
Linux-makoUbuntusaucy*
Linux-makoUbuntutrusty*
Linux-makoUbuntutrusty/esm*
Linux-makoUbuntuupstream*
Linux-makoUbuntuutopic*
Linux-makoUbuntuvivid*
Linux-makoUbuntuvivid/stable-phone-overlay*
Linux-makoUbuntuwily*
Linux-makoUbuntuxenial*
Linux-makoUbuntuyakkety*
Linux-mantaUbuntusaucy*
Linux-mantaUbuntutrusty*
Linux-mantaUbuntutrusty/esm*
Linux-mantaUbuntuupstream*
Linux-mantaUbuntuutopic*
Linux-mantaUbuntuvivid*
Linux-mantaUbuntuwily*
Linux-mvl-doveUbuntulucid*
Linux-mvl-doveUbuntuupstream*
Linux-qcm-msmUbuntulucid*
Linux-qcm-msmUbuntuprecise*
Linux-qcm-msmUbuntuquantal*
Linux-qcm-msmUbuntuupstream*
Linux-raspi2Ubuntuupstream*
Linux-raspi2Ubuntuvivid/ubuntu-core*
Linux-snapdragonUbuntuupstream*
Linux-ti-omap4Ubuntuprecise*
Linux-ti-omap4Ubuntuquantal*
Linux-ti-omap4Ubunturaring*
Linux-ti-omap4Ubuntuupstream*

Potential Mitigations

References