Skip to content

Commit 9b89ca5

Browse files
committed
Fix dependabot alert 30: upgrade netty-codec-http to 4.2.8.Final
Override transitive io.netty:netty-codec-http version to 4.2.8.Final via dependency constraint to fix CVE-2025-67735 (CRLF injection in HttpRequestEncoder).
1 parent ebf59a5 commit 9b89ca5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ subprojects {
6464
annotationProcessor(libs.lombok)
6565
testCompileOnly(libs.lombok)
6666
testAnnotationProcessor(libs.lombok)
67+
68+
// Security: override transitive netty-codec-http to fix CVE-2025-67735 (CRLF injection)
69+
constraints {
70+
implementation('io.netty:netty-codec-http') {
71+
version { require libs.versions.netty.get() }
72+
because 'CVE-2025-67735: CRLF injection in HttpRequestEncoder'
73+
}
74+
}
6775
}
6876

6977
checkstyle {

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ lombok = "1.18.42"
1111
commons-codec = "1.20.0"
1212
find-bugs = "3.0.2"
1313
gradle-nexus-publish-plugin = "2.0.0"
14+
netty = "4.2.8.Final"
1415
datadog-statsd = "4.4.5"
1516
# Verify
1617
checkstyle = "8.44"

0 commit comments

Comments
 (0)