Bug 1441226 (CVE-2017-5651)

Summary: CVE-2017-5651 tomcat: Incorrect handling of send file processing could result into adding Processort to the cache twice
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aileenc, alazarot, alee, bbaranow, bmaxwell, cdewolf, chazlett, coolsvap, csutherl, dandread, darran.lofthouse, dosoudil, etirelli, felias, gvarsami, gzaronik, hchiorea, hhorak, huwang, ivan.afonichev, java-sig-commits, jawilson, jclere, jcoleman, jdoyle, jolee, jorton, jshepherd, kconner, krzysztof.daniel, kverlaen, ldimaggi, lgao, lpetrovi, mbabacek, mbaluch, mizdebsk, mwinkler, myarboro, nwallace, pavelp, pgier, psakar, pslavice, psotirop, rnetuka, rrajasek, rsvoboda, rwagner, rzhang, spinder, tcunning, theute, tkirby, trick, twalsh, vhalbert, vtunka, weli, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tomcat 8.5.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-18 06:01:18 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:    
Bug Blocks: 1441210    

Description Adam Mariš 2017-04-11 13:06:05 UTC
The refactoring of the HTTP connectors for 8.5.x onwards, introduced a regression in the send file processing. If the send file processing completed quickly, it was possible for the Processor to be added to the processor cache twice. This could result in the same Processor being used for multiple requests which in turn could lead to unexpected errors and/or response mix-up.

Affected versions: 8.5.0 to 8.5.12

Upstream fix:

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

Reference:	

https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.13

Comment 1 Adam Mariš 2017-04-11 13:32:43 UTC
Created tomcat tracking bugs for this issue:

Affects: fedora-all [bug 1441242]