Bug 2373018 (CVE-2025-49125)

Summary: CVE-2025-49125 tomcat: Apache Tomcat: Security constraint bypass for pre/post-resources
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aschwart, asoldano, bbaranow, bmaxwell, boliveir, brian.stansberry, cdewolf, chfoley, cmiranda, csutherl, darran.lofthouse, dhanak, dkreling, dosoudil, drosa, fjuma, gmalinko, ibek, istudens, ivassile, iweiss, janstey, jclere, jrokos, jscholz, kverlaen, lgao, mnovotny, mosmerov, mposolda, msochure, msvehla, nwallace, pcongius, pdelbell, pesilva, pjindal, plodge, pmackay, rstancel, rstepani, sausingh, sdawley, smaestri, ssilvert, sthorger, swoodman, szappis, tom.jenkinson, vmuzikar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw has been discovered in path handling logic in Apache Tomcat. When using either PreResources or PostResources mounted on a non-root path, it is possible to access resources via an unexpected path. This may result in leaking of files on those paths.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2373042, 2373043    
Bug Blocks:    

Description OSIDB Bzimport 2025-06-16 15:01:35 UTC
Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Tomcat.  When using PreResources or PostResources mounted other than at the root of the web application, it was possible to access those resources via an unexpected path. That path was likely not to be protected by the same security constraints as the expected path, allowing those security constraints to be bypassed.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0-M1 through 10.1.41, from 9.0.0.M1 through 9.0.105.

Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.