Bug 1382352 (CVE-2016-6808)

Summary: CVE-2016-6808 mod_jk: Buffer overflow when concatenating virtual host name and URI
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bbaranow, bmaxwell, cdewolf, chazlett, csutherl, dandread, darran.lofthouse, dimitris, dosoudil, fnasser, gzaronik, huwang, jason.greene, jawilson, jboss-set, jclere, jdoyle, jondruse, jshepherd, lgao, mbabacek, mturk, myarboro, ppalaga, pslavice, rnetuka, rstancel, rsvoboda, twalsh, vtunka, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was found that the length checks prior to writing to the target buffer for creating a virtual host mapping rule did not take account of the length of the virtual host name, creating the potential for a buffer overflow.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 11:47:24 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: 1384163, 1462710    
Bug Blocks: 1382353, 1395463, 1461790    

Description Adam Mariš 2016-10-06 12:59:01 UTC
The IIS/ISAPI specific code implements special handling when a virtual host is present. The virtual host name and the URI are concatenated to create a virtual host mapping rule. It was found that the length checks prior to writing to the target buffer for this rule did not take account of the length of the virtual host name, creating the potential for a buffer overflow.

Upstream patch:

https://svn.apache.org/viewvc?view=revision&revision=1762057

External References:

https://tomcat.apache.org/security-jk.html#Fixed_in_Apache_Tomcat_JK_Connector_1.2.42

Comment 4 errata-xmlrpc 2016-12-15 22:12:27 UTC
This issue has been addressed in the following products:



Via RHSA-2016:2957 https://rhn.redhat.com/errata/RHSA-2016-2957.html

Comment 5 errata-xmlrpc 2017-01-25 20:06:33 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7

Via RHSA-2017:0194 https://access.redhat.com/errata/RHSA-2017:0194

Comment 6 errata-xmlrpc 2017-01-25 20:07:55 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6

Via RHSA-2017:0193 https://access.redhat.com/errata/RHSA-2017:0193