From 881a42d228b7f4c45e1b94cf31f279165e64fdfd Mon Sep 17 00:00:00 2001 From: YoyoFx Date: Fri, 5 Aug 2022 08:17:03 +0800 Subject: [PATCH] Fix CVE-2022-24823 and CVE-2022-25647 Vulnerability (#288) --- CHANGES.md | 2 ++ apm-protocol/apm-network/pom.xml | 20 ++++++++++++++++++++ apm-sniffer/apm-agent-core/pom.xml | 6 +++++- dist-material/LICENSE | 4 ++-- pom.xml | 3 ++- test/e2e/base/pom.xml | 2 +- test/plugin/pom.xml | 4 ++-- 7 files changed, 34 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 479672343..c0cca7cc5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,8 @@ Release Notes. * Add plugin to support Tomcat 10.x. * Save http status code regardless of it's status. * Upgrade byte-buddy to 1.12.13, and adopt byte-buddy APIs changes. +* Upgrade gson to 2.8.9. +* Upgrade netty-codec-http2 to 4.1.79.Final. #### Documentation diff --git a/apm-protocol/apm-network/pom.xml b/apm-protocol/apm-network/pom.xml index 2ad06f6b0..0c76eb621 100644 --- a/apm-protocol/apm-network/pom.xml +++ b/apm-protocol/apm-network/pom.xml @@ -32,10 +32,30 @@ + + io.netty + netty-handler-proxy + ${netty.version} + + + io.netty + netty-codec-http2 + ${netty.version} + io.grpc grpc-netty ${grpc.version} + + + netty-codec-http2 + io.netty + + + netty-handler-proxy + io.netty + + io.grpc diff --git a/apm-sniffer/apm-agent-core/pom.xml b/apm-sniffer/apm-agent-core/pom.xml index 134484613..d5db1d600 100644 --- a/apm-sniffer/apm-agent-core/pom.xml +++ b/apm-sniffer/apm-agent-core/pom.xml @@ -33,7 +33,7 @@ UTF-8 - 20.0 + 30.1.1-jre 2.6.0 2.0.7.Final 1.4.1.Final @@ -109,6 +109,10 @@ mockito-core org.mockito + + netty-codec-http2 + io.netty + test diff --git a/dist-material/LICENSE b/dist-material/LICENSE index 8eb4b6b11..f84d20b7d 100755 --- a/dist-material/LICENSE +++ b/dist-material/LICENSE @@ -217,10 +217,10 @@ The text of each license is the standard Apache 2.0 license. raphw (byte-buddy) 1.12.13: http://bytebuddy.net/ , Apache 2.0 Google: grpc-java 1.44.0: https://github.com/grpc/grpc-java, Apache 2.0 - Google: gson 2.8.6: https://github.com/google/gson , Apache 2.0 + Google: gson 2.8.9: https://github.com/google/gson , Apache 2.0 Google: proto-google-common-protos 2.0.1: https://github.com/googleapis/googleapis , Apache 2.0 Google: jsr305 3.0.2: http://central.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.pom , Apache 2.0 - netty 4.1.72: https://github.com/netty/netty/blob/4.1/LICENSE.txt, Apache 2.0 + netty 4.1.79: https://github.com/netty/netty/blob/4.1/LICENSE.txt, Apache 2.0 ======================================================================== BSD licenses diff --git a/pom.xml b/pom.xml index 87d384cf8..3273392e3 100755 --- a/pom.xml +++ b/pom.xml @@ -88,7 +88,8 @@ 1.12.13 1.44.0 - 2.8.6 + 4.1.79.Final + 2.8.9 1.6.2 0.6.1 3.17.3 diff --git a/test/e2e/base/pom.xml b/test/e2e/base/pom.xml index 9581d8aed..9ae8d9e70 100644 --- a/test/e2e/base/pom.xml +++ b/test/e2e/base/pom.xml @@ -52,7 +52,7 @@ ${java.version} UTF-8 2.2.5.RELEASE - 28.2-jre + 30.1.1-jre 1.18.20 diff --git a/test/plugin/pom.xml b/test/plugin/pom.xml index b9df3c6bf..f0c965beb 100644 --- a/test/plugin/pom.xml +++ b/test/plugin/pom.xml @@ -42,8 +42,8 @@ UTF-8 4.11 - 20.0 - 2.8.5 + 30.1.1-jre + 2.8.9 1.18.20 1.24