Bug 1271256 (CVE-2014-8179)

Summary: CVE-2014-8179 docker: Manifest validation and parsing logic errors allow pull-by-digest validation bypass
Product: [Other] Security Response Reporter: Trevor Jay <tjay>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: adimania, admiller, dwalsh, golang-updates, hushan.jia, ichavero, jchaloup, jperrin, lsm5, manuel.wolfshant, mgoldman, miminar, s, thrcka, vbatts
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 14:01:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1271259, 1271260, 1271261    
Bug Blocks:    

Description Trevor Jay 2015-10-13 13:43:10 UTC
During Docker pulls validation and extraction of the manifest object from its JSON representation are done in separate steps. The digest that represents the manifest corresponds to a hash of the payload portion of the JSON blob returned by the remote registry. Even though the validity of the payload portion is being verified, an injection of new attributes in the surrounding JSON object is possible. This allows an override of the verified content at JSON deserialization time leading to pulling unverified layers.

Comment 2 Trevor Jay 2015-10-13 13:50:18 UTC
Created docker-io tracking bugs for this issue:

Affects: fedora-all [bug 1271261]

Comment 3 Trevor Jay 2015-10-13 14:01:28 UTC
This issue is exploitable by malicious Docker images. Red Hat supports images from it's own registry, ISV images certified by the Red Hat certification program, and images using qualified customer content.

Marking this vulnerability and its children as "WONTFIX".

Comment 4 Daniel Walsh 2015-10-13 14:09:17 UTC
We will get the fix from docker when we release docker-1.9.

Comment 5 Vincent Danen 2015-10-15 17:18:51 UTC
Statement:

This issue is exploitable by malicious Docker images. Red Hat supports images from it's own registry, ISV images certified by the Red Hat certification program, and images using qualified customer content.

Comment 6 Trevor Jay 2016-10-17 03:08:27 UTC
Fixed in 1.8.3 and greater.