Skip to content

Commit

Permalink
Fix security vulnerabilities and upgrade KC version to 1.6.9 (#498)
Browse files Browse the repository at this point in the history
* [SNOW-643653] Fix Citi Blackduck vulnerabilities  (#497)

* avro 1.8.1 -> 1.11.0, kakfa-clients -> 2.8.2

* vulnerabilities fixed?

* fixed all vuln

* update kc version

* update utils.java
  • Loading branch information
sfc-gh-rcheng committed Sep 28, 2022
1 parent 58fa3ca commit 3b64777
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.snowflake</groupId>
<artifactId>snowflake-kafka-connector</artifactId>
<version>1.6.8</version>
<version>1.6.9</version>
<packaging>jar</packaging>
<name>Snowflake Kafka Connector</name>
<description>Snowflake Kafka Connect Sink Connector</description>
Expand Down Expand Up @@ -290,7 +290,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-api</artifactId>
<version>2.8.1</version>
<version>3.2.3</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -326,7 +326,7 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>1.9.0</version>
<version>1.11.1</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
6 changes: 3 additions & 3 deletions pom_confluent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>com.snowflake</groupId>
<artifactId>snowflake-kafka-connector</artifactId>
<version>1.6.8</version>
<version>1.6.9</version>
<packaging>jar</packaging>
<name>Snowflake Kafka Connector</name>
<description>Snowflake Kafka Connect Sink Connector</description>
Expand Down Expand Up @@ -338,7 +338,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-api</artifactId>
<version>2.8.1</version>
<version>3.2.3</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -374,7 +374,7 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>1.9.0</version>
<version>1.11.1</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/snowflake/kafka/connector/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class Utils {

// Connector version, change every release
public static final String VERSION = "1.6.8";
public static final String VERSION = "1.6.9";

// connector parameter list
public static final String NAME = "name";
Expand Down
8 changes: 4 additions & 4 deletions test/perf_test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>5.1.2</version>
<version>7.2.1</version>
</dependency>

<!-- https://mvnrepository.com/artifact/net.snowflake/snowflake-jdbc -->
Expand All @@ -37,7 +37,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.2.1</version>
<version>2.8.2</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
Expand All @@ -54,7 +54,7 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>1.8.1</version>
<version>1.11.1</version>
</dependency>
</dependencies>

Expand All @@ -63,7 +63,7 @@
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>1.8.1</version>
<version>1.11.1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Expand Down

0 comments on commit 3b64777

Please sign in to comment.