CVE-2017-16539 Docker Moby /proc/scsi Path Exposure Allows Host Data Loss (SCSI MICDROP)

Medium 5.9 Published Updated

Attackers with container access can write to /proc/scsi to trigger SCSI device removal, causing data loss or denial of service on vulnerable Linux kernels.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16539?

CVE-2017-16539 is a medium-severity missing authorization vulnerability in n/a, published on 4 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The DefaultLinuxSpec function in oci/defaults.go in Docker Moby through 17.03.2-ce does not block /proc/scsi pathnames, which allows attackers to trigger data loss (when certain older Linux kernels are used) by leveraging Docker container access to write a "scsi remove-single-device" line to /proc/scsi/scsi, aka SCSI MICDROP.

Weakness: CWE-200

Which versions are affected by CVE-2017-16539?

2 open source packages ship an affected version, including github.com/moby/moby. It affects 1 product.

PackageAffectedFixed in
github.com/moby/moby GoAll versions17.12.0-ce
github.com/moby/moby GoAll versions17.12.0-ce

Products include Mobyproject Moby.

How do I fix CVE-2017-16539?

Upgrade github.com/moby/moby to 17.12.0-ce or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2017-16539 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-16539, GHSA-vfjc-2qcw-j95j, UBUNTU-CVE-2017-16539.

Is CVE-2017-16539 in your software?

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

Check your SBOMs for free