MEDIUM5.9
GHSA-vfjc-2qcw-j95j
Docker Moby /proc/scsi Path Exposure Allows Host Data Loss (SCSI MICDROP)
Quick fix
GHSA-vfjc-2qcw-j95j — github.com/moby/moby: upgrade to the fixed version with the command below.
go get github.com/moby/moby@v17.12.0-ceDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/moby/moby
Introduced in:
0Fixed in: 17.12.0-ceFix
go get github.com/moby/moby@v17.12.0-ceReferences
- https://nvd.nist.gov/vuln/detail/CVE-2017-16539[ADVISORY]
- https://github.com/moby/moby/pull/35399[WEB]
- https://github.com/moby/moby/commit/a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1[WEB]
- https://github.com/moby/moby[PACKAGE]
- https://marc.info/?l=linux-scsi&m=150985062200941&w=2[WEB]
- https://marc.info/?l=linux-scsi&m=150985455801444&w=2[WEB]
- https://twitter.com/ewindisch/status/926443521820774401[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/moby/moby"]}'