Skip to content

Commit dfc015f

Browse files
authored
#50: Upgraded hadoop-client dependency to fix CVE (#61)
Fixes #50
1 parent 9dd61ad commit dfc015f

File tree

7 files changed

+134
-116
lines changed

7 files changed

+134
-116
lines changed

dependencies.md

Lines changed: 82 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_1.3.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Code name: Fix vulnerabilities in dependencies
44

55
## Summary
66

7-
This release fixes [sonatype-2022-5401](https://ossindex.sonatype.org/vulnerability/sonatype-2022-5401) in reload4j.
7+
This release fixes `sonatype-2022-5401` in reload4j.
88

99
## Features
1010

doc/changes/changes_2.0.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Code name: Update Dependencies
77
This release fixes vulnerabilities by updating dependencies:
88

99
* `com.fasterxml.woodstox:woodstox-core:jar:5.3.0:compile`: CVE-2022-40152
10-
* `com.fasterxml.jackson.core:jackson-core:jar:2.12.7:compile`: [sonatype-2022-6438](https://ossindex.sonatype.org/vulnerability/sonatype-2022-6438)
10+
* `com.fasterxml.jackson.core:jackson-core:jar:2.12.7:compile`: sonatype-2022-6438
1111
* `commons-net:commons-net:jar:3.6:compile`: CVE-2021-37533
1212

1313
## Features

doc/changes/changes_2.0.4.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Parquet for Java 2.0.4, released 2023-06-28
2+
3+
Code name: Updated dependencies to fix CVE vulnerabilities
4+
5+
## Summary
6+
7+
This release updates `Hadoop` dependency to fix CVE vulnerabilities.
8+
9+
## Security
10+
11+
* #50: Upgraded Hadoop dependency to fix CVE vulnerabilities
12+
13+
## Dependency Updates
14+
15+
### Compile Dependency Updates
16+
17+
* Updated `org.apache.hadoop:hadoop-client:3.3.5` to `3.3.6`
18+
* Updated `org.apache.parquet:parquet-hadoop:1.13.0` to `1.13.1`
19+
* Updated `org.scala-lang:scala-library:2.13.10` to `2.13.11`
20+
* Added `org.xerial.snappy:snappy-java:1.1.10.1`
21+
22+
### Test Dependency Updates
23+
24+
* Updated `org.junit.jupiter:junit-jupiter:5.9.2` to `5.9.3`
25+
* Updated `org.mockito:mockito-core:5.3.1` to `5.4.0`
26+
* Updated `org.mockito:mockito-junit-jupiter:5.3.1` to `5.4.0`
27+
28+
### Plugin Dependency Updates
29+
30+
* Updated `org.itsallcode:openfasttrace-maven-plugin:1.6.1` to `1.6.2`

pk_generated_parent.pom

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pom.xml

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,31 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.exasol</groupId>
55
<artifactId>parquet-io-java</artifactId>
6-
<version>2.0.3</version>
6+
<version>2.0.4</version>
77
<name>Parquet for Java</name>
88
<description>This project provides a library that reads Parquet files into Java objects.</description>
99
<url>https://github.com/exasol/parquet-io-java/</url>
10+
<parent>
11+
<artifactId>parquet-io-java-generated-parent</artifactId>
12+
<groupId>com.exasol</groupId>
13+
<version>2.0.4</version>
14+
<relativePath>pk_generated_parent.pom</relativePath>
15+
</parent>
1016
<properties>
11-
<scala.version>2.13.10</scala.version>
17+
<scala.version>2.13.11</scala.version>
1218
<scala.compat.version>2.13</scala.compat.version>
13-
<mockito.version>5.3.1</mockito.version>
19+
<mockito.version>5.4.0</mockito.version>
1420
</properties>
15-
<distributionManagement>
16-
<snapshotRepository>
17-
<id>ossrh</id>
18-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
19-
</snapshotRepository>
20-
<repository>
21-
<id>ossrh</id>
22-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
23-
</repository>
24-
</distributionManagement>
2521
<dependencies>
2622
<dependency>
2723
<groupId>org.apache.parquet</groupId>
2824
<artifactId>parquet-hadoop</artifactId>
29-
<version>1.13.0</version>
25+
<version>1.13.1</version>
3026
</dependency>
3127
<dependency>
3228
<groupId>org.apache.hadoop</groupId>
3329
<artifactId>hadoop-client</artifactId>
34-
<version>3.3.5</version>
30+
<version>3.3.6</version>
3531
<!-- Excluding transitive dependencies with vulnerabilities. -->
3632
<exclusions>
3733
<exclusion>
@@ -101,6 +97,11 @@
10197
</exclusion>
10298
</exclusions>
10399
</dependency>
100+
<dependency>
101+
<groupId>org.xerial.snappy</groupId>
102+
<artifactId>snappy-java</artifactId>
103+
<version>1.1.10.1</version>
104+
</dependency>
104105
<dependency>
105106
<groupId>org.scala-lang</groupId>
106107
<artifactId>scala-library</artifactId>
@@ -115,7 +116,7 @@
115116
<dependency>
116117
<groupId>org.junit.jupiter</groupId>
117118
<artifactId>junit-jupiter</artifactId>
118-
<version>5.9.2</version>
119+
<version>5.9.3</version>
119120
<scope>test</scope>
120121
</dependency>
121122
<dependency>
@@ -217,7 +218,7 @@
217218
<plugin>
218219
<groupId>org.itsallcode</groupId>
219220
<artifactId>openfasttrace-maven-plugin</artifactId>
220-
<version>1.6.1</version>
221+
<version>1.6.2</version>
221222
<executions>
222223
<execution>
223224
<id>trace-requirements</id>
@@ -244,17 +245,6 @@
244245
</execution>
245246
</executions>
246247
</plugin>
247-
<plugin>
248-
<groupId>org.sonatype.ossindex.maven</groupId>
249-
<artifactId>ossindex-maven-plugin</artifactId>
250-
<configuration>
251-
<excludeVulnerabilityIds>
252-
<!-- org.apache.hadoop:hadoop-hdfs-client:jar:3.3.4: CWE-611: Improper Restriction of XML External Entity Reference ('XXE') (8.6); https://ossindex.sonatype.org/vulnerability/sonatype-2022-5732
253-
No update available -->
254-
<exclude>sonatype-2022-5732</exclude>
255-
</excludeVulnerabilityIds>
256-
</configuration>
257-
</plugin>
258248
<plugin>
259249
<groupId>org.basepom.maven</groupId>
260250
<artifactId>duplicate-finder-maven-plugin</artifactId>
@@ -283,10 +273,4 @@
283273
</plugin>
284274
</plugins>
285275
</build>
286-
<parent>
287-
<artifactId>parquet-io-java-generated-parent</artifactId>
288-
<groupId>com.exasol</groupId>
289-
<version>2.0.3</version>
290-
<relativePath>pk_generated_parent.pom</relativePath>
291-
</parent>
292276
</project>

0 commit comments

Comments
 (0)