Vulnerability in Linux Kernel
CVE-2012-4542
block/scsi_ioctl.c in the Linux kernel through 3.8 does not properly consider the SCSI device class during authorization of SCSI commands, which allows local users to bypass intended access restrictions via an SG_IO ioctl call that leverages overlapping opcodes.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.003, 29.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 3.0, 3.0.1, 3.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2013:0496 (vendor-advisory)
- RHSA-2013:0882 (vendor-advisory)
- RHSA-2013:0928 (vendor-advisory)
- [linux-kernel] 20130124 [PATCH 00/13] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542) (mailing-list)
- bugzilla.redhat.com/show_bug.cgi
- [linux-kernel] 20130124 [PATCH 04/13] sg_io: resolve conflicts between commands assigned to multiple classes (CVE-2012-4542) (mailing-list)
- RHSA-2013:0579 (vendor-advisory)
- oss.oracle.com/git/