VDB
Sign up
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-ce

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.

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-ce
Fixgo get github.com/moby/moby@v17.12.0-ce

References

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"]}'