Bug 1629927 (CVE-2018-16976)

Summary: CVE-2018-16976 gitolite: Improper restriction of access to a Git repository while migration
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fdc, gwync, jtfas90, lkundrak, opensource
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:38:01 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: 1629929, 1629930, 1629931, 1629932    
Bug Blocks:    

Description Pedro Sampaio 2018-09-17 16:09:10 UTC
Gitolite before 3.6.9 does not (in certain configurations involving @all or a regex) properly restrict access to a Git repository that is in the process of being migrated until the full set of migration steps has been completed. This can allow valid users to obtain unintended access.

Upstream fix:

https://github.com/sitaramc/gitolite/commit/dc13dfca8fdae5634bb0865f7e9822d2a268ed59

References:

https://groups.google.com/forum/#!topic/gitolite-announce/WrwDTYdbfRg

Comment 1 Pedro Sampaio 2018-09-17 16:10:03 UTC
Created gitolite tracking bugs for this issue:

Affects: epel-all [bug 1629931]
Affects: fedora-all [bug 1629929]


Created gitolite3 tracking bugs for this issue:

Affects: epel-all [bug 1629932]
Affects: fedora-all [bug 1629930]

Comment 2 Product Security DevOps Team 2019-06-10 10:38:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.