Bug 2180528 (CVE-2023-20860)

Summary: CVE-2023-20860 springframework: Security Bypass With Un-Prefixed Double Wildcard Pattern
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abenaiss, aileenc, alampare, alazarot, anstephe, asoldano, ataylor, avibelli, bbaranow, bgeorges, bmaxwell, boliveir, brian.stansberry, cdewolf, chazlett, cmoulliard, darran.lofthouse, dfreiber, dhanak, dkreling, dosoudil, drichtar, ellin, emingora, fjuma, fmongiar, gjospin, gmalinko, hbraun, ibek, ikanello, ivassile, iweiss, janstey, jburrell, jcantril, jnethert, jolee, jpavlik, jpoth, jrokos, jross, jschatte, jscholz, jstastny, kverlaen, lbacciot, lgao, lsurette, lthon, michal.skrivanek, mizdebsk, mnovotny, mosmerov, mperina, msochure, msvehla, nwallace, pdelbell, pdrozd, peholase, periklis, pgallagh, pjindal, pmackay, pskopek, rguimara, rjohnson, rkieley, rogbas, rowaters, rruss, rstancel, sbonazzo, scorneli, shbose, smaestri, sthorger, swoodman, tcunning, tom.jenkinson, vkumar, yfang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: springframework 6.0.7, springframework 5.3.26 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Spring Framework. In this vulnerability, a security bypass is possible due to the behavior of the wildcard pattern.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-17 18:43:01 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: 2180531, 2180711, 2180712    
Bug Blocks: 2180482    

Description Patrick Del Bello 2023-03-21 16:39:53 UTC
Using "**" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.

Comment 1 Patrick Del Bello 2023-03-21 17:08:13 UTC
Created log4j tracking bugs for this issue:

Affects: fedora-all [bug 2180531]

Comment 6 errata-xmlrpc 2023-05-03 14:07:01 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.20.1

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

Comment 9 errata-xmlrpc 2023-05-17 13:59:01 UTC
This issue has been addressed in the following products:

  AMQ Broker 7.10.3

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

Comment 10 Product Security DevOps Team 2023-05-17 18:42:56 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-20860

Comment 11 errata-xmlrpc 2023-06-15 00:15:00 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.12

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

Comment 12 errata-xmlrpc 2023-06-15 09:01:29 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.13

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

Comment 13 errata-xmlrpc 2023-06-19 10:13:13 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.11

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

Comment 14 errata-xmlrpc 2023-06-21 19:54:23 UTC
This issue has been addressed in the following products:

  Red Hat Virtualization Engine 4.4
  Red Hat Virtualization 4 for Red Hat Enterprise Linux 8

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

Comment 15 errata-xmlrpc 2023-06-23 17:41:12 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.10

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

Comment 17 errata-xmlrpc 2023-06-29 20:08:23 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.12

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

Comment 18 errata-xmlrpc 2023-08-16 10:56:07 UTC
This issue has been addressed in the following products:

  Red Hat support for Spring Boot 2.7.13

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

Comment 19 errata-xmlrpc 2023-09-05 18:37:19 UTC
This issue has been addressed in the following products:

  RHPAM 7.13.4 async

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