Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ subprojects {
details.because("Automatically replace android guava with jre version: ${requestedVersion} -> ${jreVersion}")
}
}
// Fix CVE-2026-33871: Netty HTTP/2 CONTINUATION Frame Flood DoS
// Affected: netty-codec-http2 < 4.1.132.Final
// https://github.com/advisories/GHSA-w9fj-cfpg-grvv
if (details.requested.group == 'io.netty') {
def nettyVersion = details.requested.version
if (nettyVersion != null && nettyVersion.startsWith('4.1.') &&
nettyVersion < '4.1.132.Final') {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Compare Netty versions numerically before forcing CVE fix

The CVE mitigation currently relies on lexicographic string comparison (nettyVersion < '4.1.132.Final'), which misorders semantic versions such as 4.1.99.Final (treated as greater than 4.1.132.Final). In builds where any io.netty dependency resolves to one of these lower two-digit patch versions, this rule will skip the override and leave vulnerable Netty artifacts in place. Use semantic version parsing (for example, Gradle VersionNumber) before comparing.

Useful? React with 👍 / 👎.

details.useVersion('4.1.132.Final')
details.because("CVE-2026-33871: force Netty >= 4.1.132.Final to fix HTTP/2 CONTINUATION frame DoS")
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sourceCompatibility = 1.8


dependencies {
api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.3' // https://github.com/FasterXML/jackson-databind/issues/3627
api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.6' // https://github.com/FasterXML/jackson-databind/issues/3627
api "com.cedarsoftware:java-util:3.2.0"
api group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.1'
api group: 'commons-codec', name: 'commons-codec', version: '1.11'
Expand Down
6 changes: 3 additions & 3 deletions framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ dependencies {
implementation group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.2'
implementation group: 'com.github.davidb', name: 'metrics-influxdb', version: '0.8.2'
// http
implementation 'org.eclipse.jetty:jetty-server:9.4.57.v20241219'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.57.v20241219'
implementation 'org.eclipse.jetty:jetty-server:9.4.58.v20250814'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.58.v20250814'
implementation 'com.alibaba:fastjson:1.2.83'
// end http

Expand All @@ -53,7 +53,7 @@ dependencies {
// https://mvnrepository.com/artifact/javax.portlet/portlet-api
compileOnly group: 'javax.portlet', name: 'portlet-api', version: '3.0.1'

implementation (group: 'org.pf4j', name: 'pf4j', version: '3.10.0') {
implementation (group: 'org.pf4j', name: 'pf4j', version: '3.14.1') {
exclude group: "org.slf4j", module: "slf4j-api"
}

Expand Down
Loading
Loading