Skip to content

Commit ec047d1

Browse files
committed
fix(deps): override Micronaut's netty-codec-http to 4.2.11.Final
Resolves CVE-2026-33870 (HTTP/1.1 request smuggling) and CVE-2026-33871 (HTTP/2 CONTINUATION frame DoS). Micronaut platform BOM 4.10.10 pins netty-codec-http* at 4.2.9.Final, overriding the parent pom's netty-bom 4.2.11. Re-importing netty-bom as the first BOM in the cli and server dependencyManagement blocks restores 4.2.11 via Maven's first-declaration-wins rule for BOM imports.
1 parent 5207410 commit ec047d1

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

cli/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@
4747

4848
<dependencyManagement>
4949
<dependencies>
50+
<!-- Netty BOM must be imported BEFORE Micronaut so its 4.2.11 pins win
51+
(Maven first-declaration-wins). Micronaut platform 4.10.10 otherwise
52+
pulls in netty-codec-http* 4.2.9 (CVE-2026-33870, CVE-2026-33871). -->
53+
<dependency>
54+
<groupId>io.netty</groupId>
55+
<artifactId>netty-bom</artifactId>
56+
<version>${netty.version}</version>
57+
<type>pom</type>
58+
<scope>import</scope>
59+
</dependency>
5060
<!-- Micronaut -->
5161
<dependency>
5262
<groupId>io.micronaut.platform</groupId>

server/jikkou-api-server/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@
171171
</dependencies>
172172
<dependencyManagement>
173173
<dependencies>
174+
<!-- Netty BOM must be imported BEFORE Micronaut so its 4.2.11 pins win
175+
(Maven first-declaration-wins). Micronaut platform 4.10.10 otherwise
176+
pulls in netty-codec-http* 4.2.9 (CVE-2026-33870, CVE-2026-33871). -->
177+
<dependency>
178+
<groupId>io.netty</groupId>
179+
<artifactId>netty-bom</artifactId>
180+
<version>${netty.version}</version>
181+
<type>pom</type>
182+
<scope>import</scope>
183+
</dependency>
174184
<dependency>
175185
<groupId>io.micronaut.platform</groupId>
176186
<artifactId>micronaut-parent</artifactId>

0 commit comments

Comments
 (0)