Skip to content

Commit

Permalink
fix(hbase): CVE-34455 (#934)
Browse files Browse the repository at this point in the history
* fix(hbase): CVE-34455

* update changelog
  • Loading branch information
razvan authored Nov 28, 2024
1 parent 6243c6a commit 9a12e36
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ All notable changes to this project will be documented in this file.
- nifi: Fix CVE-2024-36114 in NiFi `1.27.0` and `2.0.0` by upgrading a dependency. ([#924]).
- hbase: Fix CVE-2024-36114 in HBase `2.6.0` by upgrading a dependency. ([#925]).
- druid: Fix CVE-2024-36114 in Druid `26.0.0` and `30.0.0` by upgrading a dependency ([#926]).
- hbase: Fix CVE-2023-34455 in HBase `2.4.18` by upgrading a dependency. ([#934]).

[#783]: https://github.com/stackabletech/docker-images/pull/783
[#797]: https://github.com/stackabletech/docker-images/pull/797
Expand Down Expand Up @@ -127,6 +128,7 @@ All notable changes to this project will be documented in this file.
[#924]: https://github.com/stackabletech/docker-images/pull/924
[#925]: https://github.com/stackabletech/docker-images/pull/925
[#926]: https://github.com/stackabletech/docker-images/pull/926
[#934]: https://github.com/stackabletech/docker-images/pull/934

## [24.7.0] - 2024-07-24

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
Fix CVE-2023-34455

See https://github.com/stackabletech/vulnerabilities/issues/558

diff --git a/phoenix-core-client/pom.xml b/phoenix-core-client/pom.xml
index f711b0f6f..3cfbffef9 100644
--- a/phoenix-core-client/pom.xml
+++ b/phoenix-core-client/pom.xml
@@ -230,6 +230,12 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-auth</artifactId>
</dependency>
+ <!-- Fix CVE-2023-34455 -->
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.10.4</version>
+ </dependency>

<!-- HBase dependencies -->
<dependency>
diff --git a/phoenix-core-server/pom.xml b/phoenix-core-server/pom.xml
index d5032ece2..e47fb0837 100644
--- a/phoenix-core-server/pom.xml
+++ b/phoenix-core-server/pom.xml
@@ -59,6 +59,12 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-core</artifactId>
</dependency>
+ <!-- Fix CVE-2023-34455 -->
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.10.4</version>
+ </dependency>

<!-- HBase dependencies -->
<dependency>
@@ -192,4 +198,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/phoenix-pherf/pom.xml b/phoenix-pherf/pom.xml
index c03fff9a1..cdcce2f98 100644
--- a/phoenix-pherf/pom.xml
+++ b/phoenix-pherf/pom.xml
@@ -159,6 +159,12 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
</dependency>
+ <!-- Fix CVE-2023-34455 -->
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.10.4</version>
+ </dependency>

<!-- Test Dependencies -->
<dependency>
diff --git a/phoenix-tracing-webapp/pom.xml b/phoenix-tracing-webapp/pom.xml
index d2d1549ef..c8054159e 100755
--- a/phoenix-tracing-webapp/pom.xml
+++ b/phoenix-tracing-webapp/pom.xml
@@ -89,6 +89,12 @@
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
+ <!-- Fix CVE-2023-34455 -->
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.10.4</version>
+ </dependency>
</dependencies>

<build>
diff --git a/pom.xml b/pom.xml
index 4abcb5a28..21dcf71ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -850,6 +850,13 @@
</exclusion>
</exclusions>
</dependency>
+ <!-- Fix CVE-2023-34455 -->
+ <dependency>
+ <groupId>org.xerial.snappy</groupId>
+ <artifactId>snappy-java</artifactId>
+ <version>1.1.10.4</version>
+ </dependency>
+
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
1 change: 1 addition & 0 deletions hbase/stackable/patches/phoenix/5.2.0/series
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
01-cyclonedx-plugin.patch
02-CVE-2023-34455-update-snappy-version.patch

0 comments on commit 9a12e36

Please sign in to comment.