GitHub Advisory Database
GHSA-vfjc-2qcw-j95j
Docker Moby /proc/scsi Path Exposure Allows Host Data Loss (SCSI MICDROP)
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/moby/moby | All versions before 17.12.0-ce (fixed in 17.12.0-ce) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16539
- https://github.com/moby/moby/pull/35399
- https://github.com/moby/moby/commit/a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1
- https://github.com/moby/moby
- https://marc.info/?l=linux-scsi&m=150985062200941&w=2
- https://marc.info/?l=linux-scsi&m=150985455801444&w=2
- https://twitter.com/ewindisch/status/926443521820774401