-
-
Notifications
You must be signed in to change notification settings - Fork 6
fix (druid): CVE-2024-36114 #926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c46a676
fix (druid): CVE-2024-36114
maltesander e26a29b
adapt changelog
maltesander c020759
fix changelog
maltesander b9ee0cb
fix changelog
maltesander a54aaa7
Update CHANGELOG.md
maltesander 4cd7d52
Merge remote-tracking branch 'origin/main' into fix/druid/CVE-2024-36114
maltesander File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
druid/stackable/patches/26.0.0/08-CVE-2024-36114-bump-aircompressor-0-27.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| Fix CVE-2024-36114 | ||
| see https://github.com/stackabletech/vulnerabilities/issues/834 | ||
|
|
||
| Aircompressor is a library with ports of the Snappy, LZO, LZ4, and | ||
| Zstandard compression algorithms to Java. All decompressor | ||
| implementations of Aircompressor (LZ4, LZO, Snappy, Zstandard) can crash | ||
| the JVM for certain input, and in some cases also leak the content of | ||
| other memory of the Java process (which could contain sensitive | ||
| information). When decompressing certain data, the decompressors try to | ||
| access memory outside the bounds of the given byte arrays or byte | ||
| buffers. Because Aircompressor uses the JDK class sun.misc.Unsafe to | ||
| speed up memory access, no additional bounds checks are performed and | ||
| this has similar security consequences as out-of-bounds access in C or | ||
| C++, namely it can lead to non-deterministic behavior or crash the JVM. | ||
| Users should update to Aircompressor 0.27 or newer where these issues | ||
| have been fixed. When decompressing data from untrusted users, this can | ||
| be exploited for a denial-of-service attack by crashing the JVM, or to | ||
| leak other sensitive information from the Java process. There are no | ||
| known workarounds for this issue. | ||
|
|
||
| diff --git a/pom.xml b/pom.xml | ||
| index c0f06547f8..f1c6e2f9ee 100644 | ||
| --- a/pom.xml | ||
| +++ b/pom.xml | ||
| @@ -258,6 +258,12 @@ | ||
|
|
||
| <dependencyManagement> | ||
| <dependencies> | ||
| + <!-- Mitigate CVE-2024-36114: See https://github.com/stackabletech/vulnerabilities/issues/834 --> | ||
| + <dependency> | ||
| + <groupId>io.airlift</groupId> | ||
| + <artifactId>aircompressor</artifactId> | ||
| + <version>0.27</version> | ||
| + </dependency> | ||
| <!-- Compile Scope --> | ||
| <dependency> | ||
| <groupId>commons-codec</groupId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
druid/stackable/patches/28.0.1/01-remove-ranger-security.patch
This file was deleted.
Oops, something went wrong.
65 changes: 0 additions & 65 deletions
65
druid/stackable/patches/28.0.1/02-prometheus-emitter-from-source.patch
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
druid/stackable/patches/28.0.1/03-stop-building-unused-extensions.patch
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
druid/stackable/patches/28.0.1/04-update-patch-dependencies.patch
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
druid/stackable/patches/28.0.1/05-xmllayout-dependencies.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.