Skip to content

Commit 8f304d3

Browse files
fix (spark-k8s): CVE-2024-36114
1 parent d04c4a1 commit 8f304d3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ All notable changes to this project will be documented in this file.
5959
### Fixed
6060

6161
- hbase: link to phoenix server jar ([#811]).
62+
- spark: Fix CVE-2024-36114 in Spark 3.5.1 by upgrading a dependency.
63+
Spark 3.5.2 is not affected. ([#921])
6264
- trino: Correctly report Trino version ([#881]).
6365

6466
[#783]: https://github.com/stackabletech/docker-images/pull/783
@@ -101,6 +103,7 @@ All notable changes to this project will be documented in this file.
101103
[#912]: https://github.com/stackabletech/docker-images/pull/912
102104
[#913]: https://github.com/stackabletech/docker-images/pull/913
103105
[#914]: https://github.com/stackabletech/docker-images/pull/914
106+
[#921]: https://github.com/stackabletech/docker-images/pull/921
104107

105108
## [24.7.0] - 2024-07-24
106109

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Fix CVE-2024-36114
2+
see https://github.com/stackabletech/vulnerabilities/issues/834
3+
4+
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and
5+
Zstandard compression algorithms to Java. All decompressor
6+
implementations of Aircompressor (LZ4, LZO, Snappy, Zstandard) can crash
7+
the JVM for certain input, and in some cases also leak the content of
8+
other memory of the Java process (which could contain sensitive
9+
information). When decompressing certain data, the decompressors try to
10+
access memory outside the bounds of the given byte arrays or byte
11+
buffers. Because Aircompressor uses the JDK class sun.misc.Unsafe to
12+
speed up memory access, no additional bounds checks are performed and
13+
this has similar security consequences as out-of-bounds access in C or
14+
C++, namely it can lead to non-deterministic behavior or crash the JVM.
15+
Users should update to Aircompressor 0.27 or newer where these issues
16+
have been fixed. When decompressing data from untrusted users, this can
17+
be exploited for a denial-of-service attack by crashing the JVM, or to
18+
leak other sensitive information from the Java process. There are no
19+
known workarounds for this issue.
20+
21+
diff --git a/pom.xml b/pom.xml
22+
index 6cca7db7bf8..fb9254e0cd9 100644
23+
--- a/pom.xml
24+
+++ b/pom.xml
25+
@@ -2558,7 +2558,7 @@
26+
<dependency>
27+
<groupId>io.airlift</groupId>
28+
<artifactId>aircompressor</artifactId>
29+
- <version>0.26</version>
30+
+ <version>0.27</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.apache.orc</groupId>

0 commit comments

Comments
 (0)