CVE-2017-16539
docker: The DefaultLinuxSpec function does not block /proc/scsi pathnames
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-200
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/moby/moby | <17.12.0-ce | 17.12.0-ce |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | kapacitor | 1.6.6-1.ph5 |
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | docker-stable +1 | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| 15.4 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.5 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.6 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.7 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | docker-io | 1.13.1~ds3-1 |
| 12 | docker-io | 1.13.1~ds3-1 |
| 13 | docker-io | 1.13.1~ds3-1 |
| 14 | docker-io | 1.13.1~ds3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| docker-io | 1.13.1~ds3-1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | docker-stable-buildx | 0.25.0-15.1 | openSUSE-SU-2025:15589-1 |
| Tumbleweed | docker +3 | 20.10.6_ce-2.1 | openSUSE-SU-2024:10722-1 |
| Tumbleweed | docker-stable +4 | 24.0.9_ce-15.1 | openSUSE-SU-2025:15589-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-docker-io | 1.13.1~ds3-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | docker-io | 18.06.1-0ubuntu1~18.04.1 |
| 18.04-ESM | docker-io | 18.06.1-0ubuntu1~18.04.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-16539
- github.com https://github.com/moby/moby
- github.com https://github.com/moby/moby/commit/a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1
- github.com https://github.com/moby/moby/pull/35399
- github.com https://github.com/moby/moby/pull/35399/commits/a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1
- marc.info https://marc.info/?l=linux-scsi&m=150985062200941&w=2
- marc.info https://marc.info/?l=linux-scsi&m=150985455801444&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-16539
- twitter.com https://twitter.com/ewindisch/status/926443521820774401
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-16539
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.