HADOOP-18079. Upgrade Netty to 4.1.77. (#3977)

Upgrade netty to address

CVE-2019-20444,
CVE-2019-20445
CVE-2022-24823

Contributed by Wei-Chiu Chuang
This commit is contained in:
Wei-Chiu Chuang 2022-07-18 17:41:00 +08:00 committed by GitHub
parent 34e548cb62
commit a55ace7bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 91 additions and 12 deletions

View File

@ -261,17 +261,36 @@ io.grpc:grpc-protobuf:1.26.0
io.grpc:grpc-protobuf-lite:1.26.0 io.grpc:grpc-protobuf-lite:1.26.0
io.grpc:grpc-stub:1.26.0 io.grpc:grpc-stub:1.26.0
io.netty:netty:3.10.6.Final io.netty:netty:3.10.6.Final
io.netty:netty-all:4.1.42.Final io.netty:netty-all:4.1.77.Final
io.netty:netty-buffer:4.1.27.Final io.netty:netty-buffer:4.1.77.Final
io.netty:netty-codec:4.1.27.Final io.netty:netty-codec:4.1.77.Final
io.netty:netty-codec-http:4.1.27.Final io.netty:netty-codec-dns:4.1.77.Final
io.netty:netty-codec-http2:4.1.27.Final io.netty:netty-codec-haproxy:4.1.77.Final
io.netty:netty-codec-socks:4.1.27.Final io.netty:netty-codec-http:4.1.77.Final
io.netty:netty-common:4.1.27.Final io.netty:netty-codec-http2:4.1.77.Final
io.netty:netty-handler:4.1.27.Final io.netty:netty-codec-memcache:4.1.77.Final
io.netty:netty-handler-proxy:4.1.27.Final io.netty:netty-codec-mqtt:4.1.77.Final
io.netty:netty-resolver:4.1.27.Final io.netty:netty-codec-redis:4.1.77.Final
io.netty:netty-transport:4.1.27.Final io.netty:netty-codec-smtp:4.1.77.Final
io.netty:netty-codec-socks:4.1.77.Final
io.netty:netty-codec-stomp:4.1.77.Final
io.netty:netty-codec-xml:4.1.77.Final
io.netty:netty-common:4.1.77.Final
io.netty:netty-handler:4.1.77.Final
io.netty:netty-handler-proxy:4.1.77.Final
io.netty:netty-resolver:4.1.77.Final
io.netty:netty-resolver-dns:4.1.77.Final
io.netty:netty-transport:4.1.77.Final
io.netty:netty-transport-rxtx:4.1.77.Final
io.netty:netty-transport-sctp:4.1.77.Final
io.netty:netty-transport-udt:4.1.77.Final
io.netty:netty-transport-classes-epoll:4.1.77.Final
io.netty:netty-transport-native-unix-common:4.1.77.Final
io.netty:netty-transport-classes-kqueue:4.1.77.Final
io.netty:netty-resolver-dns-classes-macos:4.1.77.Final
io.netty:netty-transport-native-epoll:4.1.77.Final
io.netty:netty-transport-native-kqueue:4.1.77.Final
io.netty:netty-resolver-dns-native-macos:4.1.77.Final
io.opencensus:opencensus-api:0.12.3 io.opencensus:opencensus-api:0.12.3
io.opencensus:opencensus-contrib-grpc-metrics:0.12.3 io.opencensus:opencensus-contrib-grpc-metrics:0.12.3
io.reactivex:rxjava:1.3.8 io.reactivex:rxjava:1.3.8

View File

@ -141,7 +141,7 @@
<gson.version>2.9.0</gson.version> <gson.version>2.9.0</gson.version>
<metrics.version>3.2.4</metrics.version> <metrics.version>3.2.4</metrics.version>
<netty3.version>3.10.6.Final</netty3.version> <netty3.version>3.10.6.Final</netty3.version>
<netty4.version>4.1.68.Final</netty4.version> <netty4.version>4.1.77.Final</netty4.version>
<snappy-java.version>1.1.8.2</snappy-java.version> <snappy-java.version>1.1.8.2</snappy-java.version>
<lz4-java.version>1.7.1</lz4-java.version> <lz4-java.version>1.7.1</lz4-java.version>
@ -983,6 +983,66 @@
<version>${netty4.version}</version> <version>${netty4.version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-socks</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler-proxy</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-unix-common</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
<version>${netty4.version}</version>
</dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>