[Aikido] Fix 21 security issues in netty-handler, spring-core, spring-webmvc and 10 more - #369
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
2 Open source vulnerabilities detected - high severity
Aikido detected 2 vulnerabilities across 2 packages, it includes 2 high vulnerabilities.
Details
Remediation:
netty-codec-classes-quic— 1 CVE (high) — fixed in 4.2.18.Finalnetty-codec-http3— 1 CVE (high) — fixed in 4.2.18.Final
Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade dependencies to fix critical mTLS bypass via SNI parsing, hostname verification bypass, and open redirect/SSRF vulnerabilities in URL parsing.
✅ No breaking changes for: io.netty:netty-handler, org.springframework:spring-core, org.springframework:spring-webmvc, org.springframework:spring-web, org.springframework:spring-beans, org.springframework:spring-expression, org.springframework:spring-context, io.netty:netty-codec-http2, io.netty:netty-codec-http, io.netty:netty-codec-socks
✅ 21 CVEs resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs:
:authoritypseudo-header, enabling request smuggling and tunnel-destination bypass in proxies.Flux.windowTimeoutwith fair backpressure can cause the operator to hang indefinitely on long-lived streams, allowing attackers to exhaust resources through denial of service.Flux.bufferTimeoutwith fair backpressure can cause the stream to hang when upstream items arrive during buffer flushing, leaving items unprocessed. An attacker can exploit this to exhaust subscriptions, resulting in denial of service.🔗 Related Tasks
🤖 Remediation details
Fix critical and high-severity CVEs in Netty, Spring Framework, and Reactor via direct dependency bumps in
agent/build.gradleShort summary
This PR remediates security vulnerabilities in the following packages:
io.netty:netty-handler,io.netty:netty-codec-http2,io.netty:netty-codec-http,io.netty:netty-codec-socks,org.springframework:spring-web,org.springframework:spring-core,org.springframework:spring-beans,io.projectreactor.netty:reactor-netty-http,io.projectreactor.netty:reactor-netty-core, andio.projectreactor:reactor-core. All fixes are applied via two version bumps to directcompileOnlydependencies inagent/build.gradle:io.projectreactor.netty:reactor-netty-http(covers all Netty and Reactor packages) andorg.springframework:spring-web(covers all Spring packages).io.netty:netty-handler
netty-handleris pulled in transitively throughio.projectreactor.netty:reactor-netty-http→reactor-netty-core→netty-handler. Bumping the directcompileOnlydependencyreactor-netty-httpfrom1.2.18to1.3.7causesnetty-handlerto resolve at4.2.17.Final(previously4.1.135.Final), which meets the required floor of4.1.137.Finaland addresses the associated heap buffer disclosure and TLS-related vulnerabilities.io.netty:netty-codec-http2
netty-codec-http2is a transitive dependency introduced byio.projectreactor.netty:reactor-netty-http. Bumpingreactor-netty-httpfrom1.2.18to1.3.7resolvesnetty-codec-http2at4.2.17.Final(previously4.1.135.Final), satisfying the required minimum of4.1.138.Finaland remediating multiple HTTP/2 protocol-level vulnerabilities including header handling and flow-control issues.io.netty:netty-codec-http
netty-codec-httpis a transitive dependency introduced byio.projectreactor.netty:reactor-netty-http. The bump ofreactor-netty-httpfrom1.2.18to1.3.7resolvesnetty-codec-httpat4.2.17.Final(previously4.1.135.Final), meeting the required floor of4.1.138.Finaland fixing HTTP request/response smuggling vulnerabilities.io.netty:netty-codec-socks
netty-codec-socksis a transitive dependency introduced viareactor-netty-http→reactor-netty-core→netty-handler-proxy→netty-codec-socks. Bumpingreactor-netty-httpfrom1.2.18to1.3.7resolvesnetty-codec-socksat4.2.17.Final(previously4.1.135.Final), satisfying the required minimum of4.1.137.Final.org.springframework:spring-web
spring-webis declared directly as acompileOnlydependency inagent/build.gradleat version5.3.20. It was bumped in-place to5.3.38, the smallest5.3.xrelease that satisfies all four Spring Framework CVEs (URL parsing and redirect vulnerabilities). This also causes the transitively resolvedspring-beansandspring-coreto move to5.3.38.org.springframework:spring-core
spring-coreis resolved transitively via the directcompileOnlydependencyorg.springframework:spring-web. Bumpingspring-webfrom5.3.20to5.3.38causesspring-coreto resolve at5.3.38(previously5.3.20), meeting the patched version floor for all associated Spring Framework advisories.org.springframework:spring-beans
spring-beansis resolved transitively viaorg.springframework:spring-web→spring-beans. Bumpingspring-webfrom5.3.20to5.3.38causesspring-beansto resolve at5.3.38(previously5.3.20), satisfying the patched version requirement.io.projectreactor.netty:reactor-netty-http
reactor-netty-httpis declared directly as acompileOnlydependency inagent/build.gradle. It was bumped from1.2.18to1.3.7to remediate vulnerabilities inreactor-netty-httpitself and to carry the fixed versions of all dependent Netty and Reactor packages into the resolved dependency graph.io.projectreactor.netty:reactor-netty-core
reactor-netty-coreis a transitive dependency pulled in byio.projectreactor.netty:reactor-netty-http. Bumpingreactor-netty-httpfrom1.2.18to1.3.7resolvesreactor-netty-coreat1.3.7(previously1.2.18), meeting the required patched version and fixing the associated vulnerability.io.projectreactor:reactor-core
reactor-coreis a transitive dependency introduced byio.projectreactor.netty:reactor-netty-http→reactor-netty-core. Bumpingreactor-netty-httpfrom1.2.18to1.3.7resolvesreactor-coreat3.8.7(previously3.7.19), satisfying the required minimum of3.8.7and addressing the associated reactive-streams vulnerabilities.Version changes
io.projectreactor.netty:reactor-netty-http1.2.181.3.7org.springframework:spring-web5.3.205.3.38io.netty:netty-handler4.1.135.Final4.2.17.Finalreactor-netty-httpbumpio.netty:netty-codec-http24.1.135.Final4.2.17.Finalreactor-netty-httpbumpio.netty:netty-codec-http4.1.135.Final4.2.17.Finalreactor-netty-httpbumpio.netty:netty-codec-socks4.1.135.Final4.2.17.Finalreactor-netty-httpbumpio.projectreactor.netty:reactor-netty-core1.2.181.3.7reactor-netty-httpbumpio.projectreactor:reactor-core3.7.193.8.7reactor-netty-httpbumporg.springframework:spring-beans5.3.205.3.38spring-webbumporg.springframework:spring-core5.3.205.3.38spring-webbump