Skip to content

Commit

Permalink
Merge pull request #113 from kmwtechnology/LC-406
Browse files Browse the repository at this point in the history
LC-406 - Upgrade vulnerable Lucille dependencies.
  • Loading branch information
kiratraynor authored Apr 23, 2024
2 parents a3a4a59 + e28108e commit 270b46c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
10 changes: 5 additions & 5 deletions lucille-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>3.1.0</version>
<version>3.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
Expand All @@ -68,7 +68,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.0.1-jre</version>
<version>33.1.0-jre</version>
</dependency>
<!-- language detection -->
<dependency>
Expand Down Expand Up @@ -178,7 +178,7 @@
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.6.0</version>
<version>2.9.0</version>
</dependency>

<!-- TODO remove if not using fastcsv -->
Expand Down Expand Up @@ -267,15 +267,15 @@
<dependency>
<groupId>net.mguenther.kafka</groupId>
<artifactId>kafka-junit</artifactId>
<version>3.1.0</version>
<version>3.6.0</version>
<scope>test</scope>
</dependency>

<!-- test dependency for db connector tests -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.200</version>
<version>2.2.224</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public void getHttpClientTest() throws Exception {
Http2SolrClient client = SolrUtils.getHttpClient(config);
// would like to inspect the solr client to confirm credentials are configured, but can’t do that so just checking it’s non-null
assertNotNull(client);
client.close();
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion lucille-core/src/test/resources/db-test-start.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ CREATE TABLE mixed(id VARCHAR, int_field INT, bool_field BIT);
INSERT INTO mixed VALUES ('1', 3, 1);
INSERT INTO mixed VALUES ('2', 4, 0);

create table table_with_id_column(id int, value int, other_id varchar(10));
create table table_with_id_column(id int, `value` int, other_id varchar(10));
insert into table_with_id_column values (1, 1, 'id1');
insert into table_with_id_column values (2, 2, 'id2');
10 changes: 5 additions & 5 deletions lucille-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
<maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<jackson.version>2.12.2</jackson.version>
<jackson.version>2.17.0</jackson.version>
<!-- todo if updated to version 9 will need to add solr-solrj-zookeeper dependency -->
<lucene.version>9.7.0</lucene.version>
<solr.version>9.3.0</solr.version>
<lucene.version>9.9.2</lucene.version>
<solr.version>9.5.0</solr.version>
<opensearch-rest-client.version>1.2.0</opensearch-rest-client.version>
<opensearch.version>0.1.0</opensearch.version>
<opensearch-java.version>2.6.0</opensearch-java.version>
Expand All @@ -60,8 +60,8 @@
<slf4j.version>2.0.7</slf4j.version>
<apache-commons-lang3.version>3.12.0</apache-commons-lang3.version>
<apache-commons-text.version>1.10.0</apache-commons-text.version>
<protobuf.version>3.19.2</protobuf.version>
<netty.version>4.1.89.Final</netty.version>
<protobuf.version>3.25.3</protobuf.version>
<netty.version>4.1.108.Final</netty.version>
<grpc.version>1.53.0</grpc.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Expand Down
2 changes: 1 addition & 1 deletion lucille-plugins/lucille-ocr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.22</version>
<version>2.0.31</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 270b46c

Please sign in to comment.