Bug 1839856 (CVE-2019-20800)

Summary: CVE-2019-20800 cherokee: out-of-bounds write in cherokee_handler_cgi_add_env_pair function in handler_cgi.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: pavel.lisy
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: 2020-05-25 21:15: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: 1839857, 1839858    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-05-25 19:03:00 UTC
In Cherokee through 1.2.104, remote attackers can trigger an out-of-bounds write in cherokee_handler_cgi_add_env_pair in handler_cgi.c by sending many request headers, as demonstrated by a GET request with many "Host: 127.0.0.1" headers.

References:
https://github.com/cherokee/webserver/issues/1224
https://logicaltrust.net/blog/2019/11/cherokee.html

Comment 1 Guilherme de Almeida Suckevicz 2020-05-25 19:03:21 UTC
Created cherokee tracking bugs for this issue:

Affects: epel-6 [bug 1839858]
Affects: fedora-all [bug 1839857]

Comment 2 Product Security DevOps Team 2020-05-25 21:15:28 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.