Skip to content

Commit c7bf73a

Browse files
Copilotgygrobot
andauthored
fix(security): upgrade netty-codec-http to 4.2.13.Final to fix GHSA-xxqh-mfjm-7mv9
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/3a972867-0314-484a-b5c4-002a1e61c727 Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
1 parent dad46cb commit c7bf73a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ subprojects {
3535
useVersion('11.0.21')
3636
because('GHSA-rv64-5gf8-9qq8 / GHSA-x4m4-345f-5h5g / GHSA-24j9-x2wg-9qv6: Apache Tomcat < 11.0.21 vulnerabilities')
3737
}
38+
if (requested.group == 'io.netty' && requested.name == 'netty-codec-http'
39+
&& requested.version != null && requested.version < '4.2.13.Final') {
40+
useVersion('4.2.13.Final')
41+
because('GHSA-xxqh-mfjm-7mv9: Netty HTTP/1.0 TE+CL coexistence bypasses smuggling sanitization')
42+
}
3843
}
3944
}
4045

0 commit comments

Comments
 (0)