Bug 1273969 (CVE-2015-5305)

Summary: CVE-2015-5305 Kubernetes: Missing name validation allows path traversal in etcd
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bleanhar, ccoleman, dmcphers, jdetiber, jialiu, jkeck, jokerman, jrusnack, kseifried, lmeyer, mmccomas, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Kubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-27 20:30:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1273494    
Bug Blocks: 1273971    

Description Kurt Seifried 2015-10-21 15:32:41 UTC
Jordan Liggitt of Red Hat reports:

No validation is performed on the names of some object types. Because the etcd 
key is built directly from the object name, this allows path traversal when 
writing data.

Comment 1 Kurt Seifried 2015-10-21 15:35:22 UTC
Acknowledgement:

This issue was discovered by Jordan Liggitt of Red Hat.

Comment 2 errata-xmlrpc 2015-10-27 18:41:56 UTC
This issue has been addressed in the following products:

  RHEL 7 Version of OpenShift Enterprise 3.0

Via RHSA-2015:1945 https://access.redhat.com/errata/RHSA-2015:1945