Skip to content

Commit 514418b

Browse files
Copilotgygrobot
andauthored
fix: force netty-codec-http to 4.2.13.Final to fix GHSA-m4cv-j2px-7723 HTTP Request Smuggling
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/635ab203-2348-48ab-80fb-1cf775363b4c Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
1 parent 4554c2c commit 514418b

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-m4cv-j2px-7723: HTTP Request Smuggling in Netty < 4.2.13.Final')
42+
}
3843
}
3944
}
4045

0 commit comments

Comments
 (0)