Bug 1771899 (CVE-2019-17502)

Summary: CVE-2019-17502 hydra: null pointer dereference in process_header_end()
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: athmanem, rebus
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-11-13 12:51:32 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: 1771900, 1771901    
Bug Blocks:    

Description Dhananjay Arunesh 2019-11-13 08:29:57 UTC
Hydra through 0.1.8 has a NULL pointer dereference and daemon crash when processing POST requests that lack a Content-Length header. read.c, request.c, and util.c contribute to this. The process_header_end() function calls boa_atoi(), which ultimately calls atoi() on a NULL pointer.

Reference:
http://hydra.hellug.gr
https://gist.github.com/fxb6476/0b9883a88ff2ca40de46a8469834e16c

Comment 1 Dhananjay Arunesh 2019-11-13 08:30:18 UTC
Created hydra tracking bugs for this issue:

Affects: epel-all [bug 1771901]
Affects: fedora-all [bug 1771900]

Comment 2 Othman Madjoudj 2019-11-13 12:03:58 UTC
hydra package included in Fedora/EPEL is the brute-forcing tool which is different from the software affected by this vulnerability.

Upstream: https://github.com/vanhauser-thc/thc-hydra

Comment 3 Product Security DevOps Team 2019-11-13 12:51:32 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.