Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1516205 - (CVE-2017-16539) CVE-2017-16539 docker: The DefaultLinuxSpec function does not block /proc/scsi pathnames
CVE-2017-16539 docker: The DefaultLinuxSpec function does not block /proc/scs...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20171103,repor...
: Security
Depends On:
Blocks: 1510354
  Show dependency treegraph
 
Reported: 2017-11-22 04:32 EST by Andrej Nemec
Modified: 2018-07-05 23:31 EDT (History)
13 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-17 21:27:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-11-22 04:32:00 EST
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.

Upstream issue:

https://github.com/moby/moby/pull/35399

Upstream patch:

https://github.com/moby/moby/pull/35399/commits/a21ecdf3c8a343a7c94e4c4d01b178c87ca7aaa1

References:

https://twitter.com/ewindisch/status/926443521820774401
https://marc.info/?l=linux-scsi&m=150985062200941&w=2
https://marc.info/?l=linux-scsi&m=150985455801444&w=2
Comment 2 Daniel Walsh 2017-11-22 09:10:51 EST
SELinux blocks this attack vector.

Note You need to log in before you can comment on or make changes to this bug.