CVE-2017-16539 Docker Moby /proc/scsi Path Exposure Allows Host Data Loss (SCSI MICDROP)
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/moby/moby Go | All versions | 17.12.0-ce |
github.com/moby/moby Go | All versions | 17.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.
Other vulnerabilities in n/a
- CVE-2024-36623 Moby Race Condition vulnerability
- CVE-2023-28840 moby/moby's dockerd daemon encrypted overlay network may be unauthenticated
- CVE-2018-12608 Docker Authentication Bypass
- CVE-2024-24557 Moby classic builder cache poisoning
- CVE-2023-28841 moby/moby's dockerd daemon encrypted overlay network traffic may be unencrypted
Sources
Also known as DEBIAN-CVE-2017-16539, GHSA-vfjc-2qcw-j95j, UBUNTU-CVE-2017-16539.