Skip to content

Commit

Permalink
[Security] Use dependencyManagement to enforce snakeyaml version to 1…
Browse files Browse the repository at this point in the history
….30 (apache#13722)

- snakeyaml changelog https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes

- Pulsar Offloaders contained vulnerable version 1.21
  • Loading branch information
lhotari authored Jan 12, 2022
1 parent 1c09c14 commit e5d828a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ The Apache Software License, Version 2.0
- org.eclipse.jetty.websocket-websocket-servlet-9.4.43.v20210629.jar
- org.eclipse.jetty-jetty-alpn-conscrypt-server-9.4.43.v20210629.jar
- org.eclipse.jetty-jetty-alpn-server-9.4.43.v20210629.jar
* SnakeYaml -- org.yaml-snakeyaml-1.27.jar
* SnakeYaml -- org.yaml-snakeyaml-1.30.jar
* RocksDB - org.rocksdb-rocksdbjni-6.10.2.jar
* Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.5.1.jar
* Apache Thrift - org.apache.thrift-libthrift-0.14.2.jar
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ flexible messaging model and an intuitive client API.</description>
<cron-utils.version>9.1.3</cron-utils.version>
<spring-context.version>5.3.1</spring-context.version>
<apache-http-client.version>4.5.13</apache-http-client.version>
<snakeyaml.version>1.30</snakeyaml.version>

<!-- test dependencies -->
<cassandra.version>3.6.0</cassandra.version>
Expand Down Expand Up @@ -1179,6 +1180,12 @@ flexible messaging model and an intuitive client API.</description>
<version>${j2objc-annotations.version}</version>
</dependency>

<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>

<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pulsar-sql/presto-distribution/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ The Apache Software License, Version 2.0
* RocksDB JNI
- rocksdbjni-6.10.2.jar
* SnakeYAML
- snakeyaml-1.27.jar
- snakeyaml-1.30.jar
* Bean Validation API
- validation-api-2.0.1.Final.jar
* Objectsize
Expand Down

0 comments on commit e5d828a

Please sign in to comment.