Skip to content

Commit 0bbc862

Browse files
committed
USPR-13800: enforce patched Spring Expression version for GHSA-r5w3-xv2f-j59q
Add a resolutionStrategy override to root build.gradle forcing org.springframework:spring-expression to 7.0.8 or higher, following the existing pattern used for jackson/logback/tomcat/netty security floors. Fixes Dependabot alert 128 (Spring Expression Language Algorithmic DoS).
1 parent cbf47d4 commit 0bbc862

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ subprojects {
5858
'GHSA-mvh2-crg5-v77c: multiple Netty vulnerabilities, including SPDY zlib header block continues decoded expansion ' +
5959
'after maxHeaderSize truncation, fixed in 4.2.16.Final')
6060
}
61+
if (requested.group == 'org.springframework' && requested.name == 'spring-expression'
62+
&& requested.version != null && requested.version < '7.0.8') {
63+
useVersion('7.0.8')
64+
because('GHSA-r5w3-xv2f-j59q: Spring Expression Language (SpEL) Algorithmic Denial of Service ' +
65+
'via crafted expressions causing excessive resource consumption, fixed in 7.0.8')
66+
}
6167
}
6268
}
6369

0 commit comments

Comments
 (0)