Skip to content

Commit 16dcbdf

Browse files
fix(deps): bump io.netty vulnerability floor to 4.2.16.Final (USPR-13774)
Remediates GHSA-jppx-w49h-x2qq (ByteBuf Reference Leak on RST_STREAM) which causes native memory exhaustion under high RST_STREAM traffic. Update the minimum io.netty version floor from 4.2.15.Final to 4.2.16.Final in both the root resolutionStrategy and in the example Spring Boot applications to maintain consistency. Fixes Dependabot alert #107. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
1 parent 850a009 commit 16dcbdf

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ subprojects {
4949
because('GHSA-rv64-5gf8-9qq8 / GHSA-x4m4-345f-5h5g / GHSA-24j9-x2wg-9qv6 / GHSA-gx5v-xp9w-j4cg: Apache Tomcat < 11.0.22 vulnerabilities')
5050
}
5151
if (requested.group == 'io.netty'
52-
&& requested.version != null && requested.version < '4.2.15.Final') {
53-
useVersion('4.2.15.Final')
52+
&& requested.version != null && requested.version < '4.2.16.Final') {
53+
useVersion('4.2.16.Final')
5454
because('GHSA-38f8-5428-x5cv: HTTP Request Smuggling in io.netty:netty-codec-http via malformed Transfer-Encoding headers; ' +
5555
'GHSA-3qp7-7mw8-wx86 / GHSA-c2rx-5r8w-8xr2 / GHSA-cmm3-54f8-px4j / GHSA-x4gw-5cx5-pgmh / GHSA-676x-f7gg-47vc / ' +
5656
'GHSA-5pvg-856g-cp85 / GHSA-4grm-h2qv-h6w6 / GHSA-c653-97m9-rcg9 / GHSA-563q-j3cm-6jxm / GHSA-hvcg-qmg6-jm4c / ' +
5757
'GHSA-cq4q-cv5g-r8q5 / GHSA-c2gf-v879-257j / GHSA-5x3r-wrvg-rp6q / GHSA-xmv7-r254-6q78 / GHSA-w573-9ffj-6ff9: ' +
58-
'multiple Netty vulnerabilities fixed in 4.2.15.Final')
58+
'multiple Netty vulnerabilities fixed in 4.2.15.Final; ' +
59+
'GHSA-jppx-w49h-x2qq: Netty ByteBuf Reference Leak on RST_STREAM (native memory exhaustion) fixed in 4.2.16.Final')
5960
}
6061
}
6162
}

examples/example-spring-boot-starter-web/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
ext['jackson-bom.version'] = '3.1.4'
99
ext['jackson-2-bom.version'] = '2.21.5'
1010
ext['logback.version'] = '1.5.34'
11-
ext['netty.version'] = '4.2.15.Final'
11+
ext['netty.version'] = '4.2.16.Final'
1212
ext['tomcat.version'] = '11.0.22'
1313

1414
dependencies {

examples/example-spring-boot-starter-webflux/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
ext['jackson-bom.version'] = '3.1.4'
99
ext['jackson-2-bom.version'] = '2.21.5'
1010
ext['logback.version'] = '1.5.34'
11-
ext['netty.version'] = '4.2.15.Final'
11+
ext['netty.version'] = '4.2.16.Final'
1212
ext['tomcat.version'] = '11.0.22'
1313

1414
dependencies {

0 commit comments

Comments
 (0)