Bug 2241271 (CVE-2023-34034)

Summary: CVE-2023-34034 spring-security-webflux: path wildcard leads to security bypass
Product: [Other] Security Response Reporter: Chess Hazlett <chazlett>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aileenc, alazarot, anstephe, avibelli, bgeorges, boliveir, chazlett, clement.escoffier, dandread, dhanak, dkreling, drichtar, emingora, fmongiar, gjospin, gmalinko, gsmet, ibek, janstey, jmartisk, jnethert, jrokos, kverlaen, lbacciot, lthon, max.andersen, mnovotny, mulliken, pdelbell, pdrozd, peholase, pgallagh, pjindal, probinso, pskopek, rguimara, rowaters, rruss, rsvoboda, sbiarozk, sthorger, tqvarnst
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spring-security 5.6.12, spring-security 5.7.10, spring-security 5.8.5, spring-security 6.0.5, spring-security 6.1.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Spring Security's WebFlux framework pattern matching, where it does not properly evaluate certain patterns. A server using path-based pattern matching in WebFlux could allow an attacker to bypass security settings for some request paths, potentially leading to information disclosure, access of functionality outside the user's permissions, or denial of service.
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:    
Bug Blocks: 2239193    

Description Chess Hazlett 2023-09-28 22:44:06 UTC
Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Comment 6 errata-xmlrpc 2023-11-15 17:08:02 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.12.1

Via RHSA-2023:7247 https://access.redhat.com/errata/RHSA-2023:7247