Bug 1524334 (CVE-2017-17459)

Summary: CVE-2017-17459 fossil: Command injection via malicious ssh URLs
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: divya.hariomtatsat
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fossil 2.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:33:00 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: 1524335    
Bug Blocks:    

Description Andrej Nemec 2017-12-11 09:45:07 UTC
http_transport.c in Fossil before 2.4, when the SSH sync protocol is used, allows user-assisted remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname.

Upstream patch:

https://www.fossil-scm.org/xfer/info/1f63db591c77108c

References:

https://www.fossil-scm.org/xfer/doc/trunk/www/changes.wiki#v2_4
http://blog.recurity-labs.com/2017-08-10/scm-vulns

Comment 1 Andrej Nemec 2017-12-11 09:45:37 UTC
Created fossil tracking bugs for this issue:

Affects: fedora-all [bug 1524335]

Comment 2 Product Security DevOps Team 2019-06-08 03:33:00 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.