Skip to content

Commit 4304d56

Browse files
midnight-clue[bot]claudecatarina-correia
authored
USPR-13775: bump netty resolutionStrategy floor to 4.2.16.Final (#385)
* fix(netty): bump resolutionStrategy floor to 4.2.16.Final USPR-13775: Fix GHSA-mvh2-crg5-v77c (io.netty:netty-codec-http zlib header block decompression bomb). Bump the enforced netty floor version in root build.gradle from 4.2.15.Final to 4.2.16.Final. Updated the because() advisory comment to include GHSA-mvh2-crg5-v77c while retaining all previously-listed CVE references. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com> * fix(examples): bump netty.version to 4.2.16.Final Update Spring Dependency Management BOM overrides in both example subprojects (example-spring-boot-starter-web and example-spring-boot-starter-webflux) to use netty 4.2.16.Final, matching the bump to the root resolutionStrategy floor. This ensures examples remain consistent with the enforced netty version and are not vulnerable to GHSA-mvh2-crg5-v77c. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Catarina Correia <catarina.correia@getyourguide.com>
1 parent 850a009 commit 4304d56

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎build.gradle‎

Lines changed: 5 additions & 4 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 / ' +
57-
'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')
57+
'GHSA-cq4q-cv5g-r8q5 / GHSA-c2gf-v879-257j / GHSA-5x3r-wrvg-rp6q / GHSA-xmv7-r254-6q78 / GHSA-w573-9ffj-6ff9 / ' +
58+
'GHSA-mvh2-crg5-v77c: multiple Netty vulnerabilities, including SPDY zlib header block continues decoded expansion ' +
59+
'after maxHeaderSize truncation, 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)