Skip to content

Commit 269c85f

Browse files
committed
Add constraints on redis-om-spring dependency to use ai.djl.api 0.28.0 instead of 0.27.0 (CVE-2024-37902)
1 parent 9de2292 commit 269c85f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ subprojects {
293293
implementation("com.okta.spring:okta-spring-boot-starter:${oktaSpringBootVersion}")
294294

295295
implementation("org.apache.commons:commons-csv:$commonsCsvVersion")
296-
implementation("com.redis.om:redis-om-spring:${redisOmSpringVersion}")
296+
implementation("com.redis.om:redis-om-spring:${redisOmSpringVersion}") {
297+
constraints { implementation("ai.djl:api:0.28.0") }
298+
}
297299
implementation("org.springframework.data:spring-data-redis")
298300
implementation("org.springframework:spring-jdbc")
299301
implementation("org.postgresql:postgresql")

0 commit comments

Comments
 (0)