CVE-2012-4542 Security feature bypass in n/a

Medium 4.6 Published Updated

Local attackers can bypass SCSI command access restrictions via SG_IO ioctl calls due to improper opcode handling in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-4542?

CVE-2012-4542 is a medium-severity vulnerability in Linux kernel, published on 28 Feb 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-264

Which versions are affected by CVE-2012-4542?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2012-4542?

Apply the vendor's patch.

Is CVE-2012-4542 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-4542, GHSA-jcfv-wjcf-phjg, ROOT-OS-DEBIAN-12-CVE-2012-4542, ROOT-OS-DEBIAN-13-CVE-2012-4542, UBUNTU-CVE-2012-4542.

Is CVE-2012-4542 in your software?

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

Check your SBOMs for free