Skip to content

Commit 7ff465e

Browse files
committed
Add constraints on spring-boot-starter-undertow dependency to use io.undertow:undertow-core 2.3.14.Final instead of 2.3.12.Final (CVE-2024-6162)
1 parent 6a01168 commit 7ff465e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ subprojects {
279279
exclude(group = "org.springframework.boot", module = "spring-boot-starter-tomcat")
280280
}
281281
implementation("org.springframework.boot:spring-boot-starter-undertow") {
282-
constraints { implementation("org.jboss.xnio:xnio-api:3.8.16.Final") }
282+
constraints {
283+
implementation("org.jboss.xnio:xnio-api:3.8.16.Final")
284+
implementation("io.undertow:undertow-core:2.3.14.Final")
285+
}
283286
}
284287
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
285288
// https://mvnrepository.com/artifact/jakarta.validation/jakarta.validation-api

0 commit comments

Comments
 (0)