Skip to content

Commit

Permalink
[Security] Upgrade vertx to 3.9.8, addresses CVE-2018-12541 (#2693)
Browse files Browse the repository at this point in the history
Fixes #2511

### Motivation

See #2511

The current vertx version is 3.5.3 which has a vulnerability, CVE-2018-12541 .

### Changes

- Upgrade [vertx version to 3.9.8](https://github.com/eclipse-vertx/vert.x/releases/tag/3.9.8)
- Fix issue with deprecated API usage
  • Loading branch information
lhotari authored Jun 24, 2021
1 parent 9fce0c3 commit 6a19e0e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
17 changes: 9 additions & 8 deletions bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,11 @@ Apache Software License, Version 2.
- lib/io.prometheus-simpleclient_common-0.8.1.jar [12]
- lib/io.prometheus-simpleclient_hotspot-0.8.1.jar [12]
- lib/io.prometheus-simpleclient_servlet-0.8.1.jar [12]
- lib/io.vertx-vertx-auth-common-3.5.3.jar [13]
- lib/io.vertx-vertx-bridge-common-3.5.3.jar [14]
- lib/io.vertx-vertx-core-3.5.3.jar [15]
- lib/io.vertx-vertx-web-3.5.3.jar [16]
- lib/io.vertx-vertx-auth-common-3.9.8.jar [13]
- lib/io.vertx-vertx-bridge-common-3.9.8.jar [14]
- lib/io.vertx-vertx-core-3.9.8.jar [15]
- lib/io.vertx-vertx-web-3.9.8.jar [16]
- lib/io.vertx-vertx-web-common-3.9.8.jar [16]
- lib/log4j-log4j-1.2.17.jar [17]
- lib/net.java.dev.jna-jna-3.2.7.jar [18]
- lib/org.apache.commons-commons-collections4-4.1.jar [19]
Expand Down Expand Up @@ -312,10 +313,10 @@ Apache Software License, Version 2.
[10] Source available at http://svn.apache.org/viewvc/commons/proper/logging/tags/commons-logging-1.1.1/
[11] Source available at https://github.com/netty/netty/tree/netty-4.1.63.Final
[12] Source available at https://github.com/prometheus/client_java/tree/parent-0.8.1
[13] Source available at https://github.com/vert-x3/vertx-auth/tree/3.5.3
[14] Source available at https://github.com/vert-x3/vertx-bridge-common/tree/3.5.3
[15] Source available at https://github.com/eclipse/vert.x/tree/3.5.3
[16] Source available at https://github.com/vert-x3/vertx-web/tree/3.5.3
[13] Source available at https://github.com/vert-x3/vertx-auth/tree/3.9.8
[14] Source available at https://github.com/vert-x3/vertx-bridge-common/tree/3.9.8
[15] Source available at https://github.com/eclipse/vert.x/tree/3.9.8
[16] Source available at https://github.com/vert-x3/vertx-web/tree/3.9.8
[17] Source available at http://logging.apache.org/log4j/1.2/download.html
[18] Source available at https://github.com/java-native-access/jna/tree/3.2.7
[19] Source available at https://git-wip-us.apache.org/repos/asf?p=commons-collections.git;a=tag;h=a3a5ad
Expand Down
17 changes: 9 additions & 8 deletions bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,11 @@ Apache Software License, Version 2.
- lib/io.prometheus-simpleclient_common-0.8.1.jar [12]
- lib/io.prometheus-simpleclient_hotspot-0.8.1.jar [12]
- lib/io.prometheus-simpleclient_servlet-0.8.1.jar [12]
- lib/io.vertx-vertx-auth-common-3.5.3.jar [13]
- lib/io.vertx-vertx-bridge-common-3.5.3.jar [14]
- lib/io.vertx-vertx-core-3.5.3.jar [15]
- lib/io.vertx-vertx-web-3.5.3.jar [16]
- lib/io.vertx-vertx-auth-common-3.9.8.jar [13]
- lib/io.vertx-vertx-bridge-common-3.9.8.jar [14]
- lib/io.vertx-vertx-core-3.9.8.jar [15]
- lib/io.vertx-vertx-web-3.9.8.jar [16]
- lib/io.vertx-vertx-web-common-3.9.8.jar [16]
- lib/log4j-log4j-1.2.17.jar [17]
- lib/net.java.dev.jna-jna-3.2.7.jar [18]
- lib/org.apache.commons-commons-collections4-4.1.jar [19]
Expand Down Expand Up @@ -310,10 +311,10 @@ Apache Software License, Version 2.
[10] Source available at http://svn.apache.org/viewvc/commons/proper/logging/tags/commons-logging-1.1.1/
[11] Source available at https://github.com/netty/netty/tree/netty-4.1.63.Final
[12] Source available at https://github.com/prometheus/client_java/tree/parent-0.8.1
[13] Source available at https://github.com/vert-x3/vertx-auth/tree/3.5.3
[14] Source available at https://github.com/vert-x3/vertx-bridge-common/tree/3.5.3
[15] Source available at https://github.com/eclipse/vert.x/tree/3.5.3
[16] Source available at https://github.com/vert-x3/vertx-web/tree/3.5.3
[13] Source available at https://github.com/vert-x3/vertx-auth/tree/3.9.8
[14] Source available at https://github.com/vert-x3/vertx-bridge-common/tree/3.9.8
[15] Source available at https://github.com/eclipse/vert.x/tree/3.9.8
[16] Source available at https://github.com/vert-x3/vertx-web/tree/3.9.8
[17] Source available at http://logging.apache.org/log4j/1.2/download.html
[18] Source available at https://github.com/java-native-access/jna/tree/3.2.7
[19] Source available at https://git-wip-us.apache.org/repos/asf?p=commons-collections.git;a=tag;h=a3a5ad
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void bindHandler(String endpoint, VertxAbstractHandler handler) {
@Override
public void start() throws Exception {
LOG.info("Starting Vertx HTTP server on port {}", port);
vertx.createHttpServer().requestHandler(router::accept).listen(port, future::complete);
vertx.createHttpServer().requestHandler(router).listen(port, future::complete);
}
});
try {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<spotbugs-annotations.version>3.1.8</spotbugs-annotations.version>
<javax-annotations-api.version>1.3.2</javax-annotations-api.version>
<testcontainers.version>1.15.1</testcontainers.version>
<vertx.version>3.5.3</vertx.version>
<vertx.version>3.9.8</vertx.version>
<zookeeper.version>3.6.2</zookeeper.version>
<snappy.version>1.1.7</snappy.version>
<jctools.version>2.1.2</jctools.version>
Expand Down

0 comments on commit 6a19e0e

Please sign in to comment.