Skip to content

Commit 7aed4b8

Browse files
fix(deps): force org.springframework:spring-expression minimum version to 7.0.8 (GHSA-wxpp-56q6-5pcg)
Force spring-expression to >= 7.0.8 via root build.gradle resolutionStrategy override to fix Dependabot alert #123. spring-expression 7.0.0-7.0.7 are transitively pulled in via Spring Boot 4.0.6 BOM and are vulnerable to GHSA-wxpp-56q6-5pcg (Denial of Service via Unbounded Cache in SpEL). The fix is available in 7.0.8. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
1 parent cbf47d4 commit 7aed4b8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ 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-wxpp-56q6-5pcg: Spring Framework Denial of Service via Unbounded Cache in SpEL')
65+
}
6166
}
6267
}
6368

0 commit comments

Comments
 (0)