Skip to content

Commit 9f505c4

Browse files
authored
Migrate existing patch series to patchable (#1005)
* Convert Druid 30.0.0 patches to patchable * Update a few dates for Druid 26.0.0 patches * Delete patches for unsupported Hadoop versions * Add patchable commands for getting the current patch and worktree dirs * More Druid date fixes * Make mailsplitting slightly more lenient * Migrate Hadoop 3.3.4 to patchable * Revise Hadoop 3.3.4 patch naming * Convert Hadoop 3.3.6 patches to Patchable * Make patchable discover images-repo specifically * Add metadata to Hadoop 3.4.0 patches * Convert Hadoop 3.4.0 to patchable * Hadoop 3.3.6 rewording * Convert HBase 2.4.18 to patchable * Convert HBase 2.6.0 to patchable * Convert HBase 2.6.1 to patchable * Convert Hive 3.1.3 to patchable * Convert Hive 4.0.0 to patchable * Convert Kafka 3.7.1 to patchable * Fix metadata for Kafka 3.7.2, 3.8.1, 3.9.0 patches * Convert omid to patchable * Convert spark-k8s to patchable * Convert Superset to patchable * Convert Trino to patchable * Convert trino-storage-connector to patchable * Convert Zookeeper to patchable * Changelog * Normalize git URLs * Convert NiFi 1.27.0 to patchable * Normalize patchable metadata for NiFi 1.28.1 and 2.2.0 * Remove duplicate subject tag from Druid 30.0.0 FMPP patch
1 parent 9d73fa3 commit 9f505c4

File tree

153 files changed

+1297
-2119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+1297
-2119
lines changed

.patchable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Marker file for Patchable to know that this is the image repository

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ All notable changes to this project will be documented in this file.
2828
- trino-cli: Add version 470 ([#999]).
2929
- trino-storage-connector: Add version 470 ([#999]).
3030
- superset: Add version `4.1.1` ([#991]).
31-
- Add Patchable patch management tool ([#1003], [#1007]).
31+
- Add Patchable patch management tool ([#1003], [#1005], [#1007]).
3232
- nifi: Add 1.28.1, 2.2.0 ([#1006]).
3333

3434
### Changed
@@ -78,6 +78,7 @@ All notable changes to this project will be documented in this file.
7878
[#999]: https://github.com/stackabletech/docker-images/pull/999
7979
[#1000]: https://github.com/stackabletech/docker-images/pull/1000
8080
[#1003]: https://github.com/stackabletech/docker-images/pull/1003
81+
[#1005]: https://github.com/stackabletech/docker-images/pull/1005
8182
[#1006]: https://github.com/stackabletech/docker-images/pull/1006
8283
[#1007]: https://github.com/stackabletech/docker-images/pull/1007
8384

druid/stackable/patches/26.0.0/0001-Removes-all-traces-of-the-druid-ranger-extension.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
From a8bec93ee6d0a4364676333168229aa0ec56657e Mon Sep 17 00:00:00 2001
1+
From 098e0333cb3977164c62ab0f29aafaf9b1ac6c7c Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
3-
Date: Thu, 12 Dec 2024 17:59:17 +0100
3+
Date: Wed, 10 Jul 2024 17:07:13 +0200
44
Subject: Removes all traces of the druid ranger extension
55

66
---

druid/stackable/patches/26.0.0/0002-Include-Prometheus-emitter-in-distribution.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
From c19288cd84492d76f924152f2d4f0d0fc0499ed6 Mon Sep 17 00:00:00 2001
1+
From cb547abec8bb002984bcb598c75f5031ea9513e1 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
3-
Date: Thu, 12 Dec 2024 17:59:17 +0100
3+
Date: Wed, 10 Jul 2024 17:07:13 +0200
44
Subject: Include Prometheus emitter in distribution
55

66
---

druid/stackable/patches/26.0.0/0003-Stop-building-unused-extensions.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 85cacbcc47c88a56acd60d91fbf0412040523c8d Mon Sep 17 00:00:00 2001
1+
From 2722e90c01f02f804f1030f6aa91d07638e5e0a3 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Thu, 12 Dec 2024 17:59:17 +0100
44
Subject: Stop building unused extensions.

druid/stackable/patches/26.0.0/0004-Updates-all-dependencies-that-have-a-new-patch-relea.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 4229d1c0d096e10dce72929224a7b4c2284fb417 Mon Sep 17 00:00:00 2001
1+
From 6a6cd8806bffe6b8f5da14d0d9f9b75fb79ac3cd Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Thu, 12 Dec 2024 17:59:17 +0100
44
Subject: Updates all dependencies that have a new patch release available.

druid/stackable/patches/26.0.0/0005-Include-jackson-dataformat-xml-dependency.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d55895a2525286a5198a3b327c3ce503bc852ead Mon Sep 17 00:00:00 2001
1+
From 1e4c0f607abfe1362941af5f53e04cd0b845f41f Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Thu, 12 Dec 2024 17:59:17 +0100
44
Subject: Include jackson-dataformat-xml dependency.

druid/stackable/patches/26.0.0/0006-Stop-building-the-tar.gz-distribution.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d1ae8732e2eee44abb5c831f5363c69e75e64a9a Mon Sep 17 00:00:00 2001
1+
From c7d74ad665618125e09f365bae0ecaa2876b6a87 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Thu, 12 Dec 2024 17:59:17 +0100
44
Subject: Stop building the tar.gz distribution.

druid/stackable/patches/26.0.0/0007-Update-CycloneDX-plugin.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
From ff7d6a5ea07ea30653b47f6ef6844103a7ac3349 Mon Sep 17 00:00:00 2001
1+
From 56541040ce6a5c36d53fdda71316d2a7ab8245c0 Mon Sep 17 00:00:00 2001
22
From: Lukas Voetmand <[email protected]>
3-
Date: Thu, 12 Dec 2024 17:59:17 +0100
3+
Date: Fri, 6 Sep 2024 17:53:52 +0200
44
Subject: Update CycloneDX plugin
55

66
---

druid/stackable/patches/26.0.0/0008-Fix-CVE-2024-36114.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From bdd52ae32874b686d6ddfa3179f6af787444662f Mon Sep 17 00:00:00 2001
1+
From a8442f203b70216cd7b3ec9cefe8f7627fa0d7e2 Mon Sep 17 00:00:00 2001
22
From: Malte Sander <[email protected]>
33
Date: Thu, 12 Dec 2024 17:59:17 +0100
44
Subject: Fix CVE-2024-36114

druid/stackable/patches/26.0.0/0009-Update-FMPP-version.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 736165ab0fe73e0bef765f2cfd21cd800baddbc1 Mon Sep 17 00:00:00 2001
1+
From 2d634afe93690d295ddf69751b03e824cbd9f934 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Thu, 12 Dec 2024 06:35:21 +0100
44
Subject: Update FMPP version

druid/stackable/patches/30.0.0/01-remove-ranger-security.patch renamed to druid/stackable/patches/30.0.0/0001-Removes-all-traces-of-the-druid-ranger-extension.patch

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
Removes all traces of the druid ranger extension
2-
1+
From b6665733d54d730bafcd4c238b11bedd4e412667 Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
4-
3+
Date: Wed, 10 Jul 2024 17:07:13 +0200
4+
Subject: Removes all traces of the druid ranger extension
55

66
---
7-
0 files changed
7+
distribution/pom.xml | 2 --
8+
pom.xml | 1 -
9+
2 files changed, 3 deletions(-)
810

911
diff --git a/distribution/pom.xml b/distribution/pom.xml
10-
index 0f17a8c877..d7cd645767 100644
12+
index bdbbd8b4c0..e27329e96d 100644
1113
--- a/distribution/pom.xml
1214
+++ b/distribution/pom.xml
1315
@@ -252,8 +252,6 @@
@@ -20,10 +22,10 @@ index 0f17a8c877..d7cd645767 100644
2022
<argument>-c</argument>
2123
<argument>org.apache.druid.extensions:druid-catalog</argument>
2224
diff --git a/pom.xml b/pom.xml
23-
index cfca79dc6e..2acb812cbe 100644
25+
index 9051ed24c5..3ab467e468 100644
2426
--- a/pom.xml
2527
+++ b/pom.xml
26-
@@ -199,7 +199,6 @@
28+
@@ -198,7 +198,6 @@
2729
<module>extensions-core/simple-client-sslcontext</module>
2830
<module>extensions-core/druid-basic-security</module>
2931
<module>extensions-core/google-extensions</module>

druid/stackable/patches/30.0.0/02-prometheus-emitter-from-source.patch renamed to druid/stackable/patches/30.0.0/0002-Include-Prometheus-emitter-in-distribution.patch

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
Include Prometheus emitter in distribution
2-
1+
From 0cee640900bb8119ba6be12911578927aeb191ed Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
4-
3+
Date: Mon, 17 Feb 2025 16:42:34 +0100
4+
Subject: Include Prometheus emitter in distribution
55

66
---
7-
0 files changed
7+
distribution/pom.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++
8+
1 file changed, 46 insertions(+)
89

910
diff --git a/distribution/pom.xml b/distribution/pom.xml
10-
index d7cd645767..eda1ddcfab 100644
11+
index e27329e96d..d5918710ef 100644
1112
--- a/distribution/pom.xml
1213
+++ b/distribution/pom.xml
1314
@@ -464,6 +464,52 @@

druid/stackable/patches/30.0.0/03-stop-building-unused-extensions.patch renamed to druid/stackable/patches/30.0.0/0003-Stop-building-unused-extensions.patch

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
Stop building unused extensions.
2-
1+
From 62f340d66dae20da8d7566f992b56223d29d4174 Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
3+
Date: Mon, 17 Feb 2025 16:42:34 +0100
4+
Subject: Stop building unused extensions.
45

56
By default Druid builds all community extensions and then discards them
67
while assembling the final distribution. This patch removes unused
78
extensions from the build.
89
---
9-
0 files changed
10+
pom.xml | 32 +-------------------------------
11+
1 file changed, 1 insertion(+), 31 deletions(-)
1012

1113
diff --git a/pom.xml b/pom.xml
12-
index 2acb812cbe..38e0ddc61a 100644
14+
index 3ab467e468..171a98f803 100644
1315
--- a/pom.xml
1416
+++ b/pom.xml
15-
@@ -201,39 +201,9 @@
17+
@@ -200,39 +200,9 @@
1618
<module>extensions-core/google-extensions</module>
1719
<module>extensions-core/druid-catalog</module>
1820
<module>extensions-core/testing-tools</module>

druid/stackable/patches/30.0.0/04-update-patch-dependencies.patch renamed to druid/stackable/patches/30.0.0/0004-Updates-all-dependencies-that-have-a-new-patch-relea.patch

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
Updates all dependencies that have a new patch release available.
2-
1+
From 59ce2824b13ad95f728a5a5afc1e5b18ff547a38 Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
4-
3+
Date: Mon, 17 Feb 2025 16:42:49 +0100
4+
Subject: Updates all dependencies that have a new patch release available.
55

66
---
7-
0 files changed
7+
extensions-core/druid-pac4j/pom.xml | 5 +++-
8+
extensions-core/kubernetes-extensions/pom.xml | 2 +-
9+
extensions-core/orc-extensions/pom.xml | 2 +-
10+
extensions-core/parquet-extensions/pom.xml | 2 +-
11+
pom.xml | 29 ++++++++++---------
12+
processing/pom.xml | 2 +-
13+
6 files changed, 24 insertions(+), 18 deletions(-)
814

915
diff --git a/extensions-core/druid-pac4j/pom.xml b/extensions-core/druid-pac4j/pom.xml
10-
index 282e0e5b15..523a2ca305 100644
16+
index 88a570fd72..d3714ca0e2 100644
1117
--- a/extensions-core/druid-pac4j/pom.xml
1218
+++ b/extensions-core/druid-pac4j/pom.xml
1319
@@ -38,7 +38,10 @@
@@ -23,10 +29,10 @@ index 282e0e5b15..523a2ca305 100644
2329
</properties>
2430

2531
diff --git a/extensions-core/kubernetes-extensions/pom.xml b/extensions-core/kubernetes-extensions/pom.xml
26-
index e3e77a99af..1304740ff3 100644
32+
index 8bf105ea86..d445888da1 100644
2733
--- a/extensions-core/kubernetes-extensions/pom.xml
2834
+++ b/extensions-core/kubernetes-extensions/pom.xml
29-
@@ -35,7 +35,7 @@
35+
@@ -34,7 +34,7 @@
3036
</parent>
3137

3238
<properties>
@@ -36,7 +42,7 @@ index e3e77a99af..1304740ff3 100644
3642

3743

3844
diff --git a/extensions-core/orc-extensions/pom.xml b/extensions-core/orc-extensions/pom.xml
39-
index b7eb007979..2c210c42c0 100644
45+
index ade9bd8f37..db0ad77894 100644
4046
--- a/extensions-core/orc-extensions/pom.xml
4147
+++ b/extensions-core/orc-extensions/pom.xml
4248
@@ -31,7 +31,7 @@
@@ -49,7 +55,7 @@ index b7eb007979..2c210c42c0 100644
4955
<dependencies>
5056
<dependency>
5157
diff --git a/extensions-core/parquet-extensions/pom.xml b/extensions-core/parquet-extensions/pom.xml
52-
index 371d2e7673..ad0b874db0 100644
58+
index d3404a62d2..9cbb6d51d5 100644
5359
--- a/extensions-core/parquet-extensions/pom.xml
5460
+++ b/extensions-core/parquet-extensions/pom.xml
5561
@@ -201,7 +201,7 @@
@@ -62,7 +68,7 @@ index 371d2e7673..ad0b874db0 100644
6268
</profile>
6369
</profiles>
6470
diff --git a/pom.xml b/pom.xml
65-
index 73fb14c1fc..26b24b8c14 100644
71+
index 171a98f803..38c6b8dbb5 100644
6672
--- a/pom.xml
6773
+++ b/pom.xml
6874
@@ -74,7 +74,7 @@
@@ -110,9 +116,9 @@ index 73fb14c1fc..26b24b8c14 100644
110116
<resilience4j.version>1.3.1</resilience4j.version>
111117
<slf4j.version>1.7.36</slf4j.version>
112118
<jna.version>5.13.0</jna.version>
113-
@@ -120,17 +120,17 @@
114-
however it is required in some cases when running against mockito 4.x (mockito 4.x is required for Java <11.
115-
We use the following property to pick the proper artifact based on Java version (see pre-java-11 profile) -->
119+
@@ -119,17 +122,17 @@
120+
<!-- mockito-inline artifact was removed in mockito 5.3 (mockito 5.x is required for Java >17),
121+
however it is required in some cases when running against mockito 4.x (mockito 4.x is required for Java <11. We use the following property to pick the proper artifact based on Java version (see pre-java-11 profile) -->
116122
<mockito.inline.artifact>core</mockito.inline.artifact>
117123
- <aws.sdk.version>1.12.638</aws.sdk.version>
118124
- <caffeine.version>2.8.0</caffeine.version>
@@ -134,10 +140,10 @@ index 73fb14c1fc..26b24b8c14 100644
134140
<jdk.strong.encapsulation.argLine><!-- empty placeholder --></jdk.strong.encapsulation.argLine>
135141
<jdk.security.manager.allow.argLine><!-- empty placeholder --></jdk.security.manager.allow.argLine>
136142
diff --git a/processing/pom.xml b/processing/pom.xml
137-
index affd900fe6..0daad4fa56 100644
143+
index 3a62790fb0..c3afa9fd27 100644
138144
--- a/processing/pom.xml
139145
+++ b/processing/pom.xml
140-
@@ -37,7 +37,7 @@
146+
@@ -36,7 +36,7 @@
141147
<sigar.base.version>1.6.5</sigar.base.version>
142148
<sigar.version>${sigar.base.version}.132</sigar.version>
143149
<ipaddress.version>5.3.4</ipaddress.version>

druid/stackable/patches/30.0.0/05-xmllayout-dependencies.patch renamed to druid/stackable/patches/30.0.0/0005-Include-jackson-dataformat-xml-dependency.patch

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
Include jackson-dataformat-xml dependency.
2-
1+
From 062c9f9bf3b27752bb4546e468e3b48befc893fe Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
3+
Date: Mon, 17 Feb 2025 16:42:49 +0100
4+
Subject: Include jackson-dataformat-xml dependency.
45

56
This allows us to use XmlLayout for Log4jV2.
67
By including it here as a dependency we can make sure that we always have
78
the matching version and we don't need to include it manually later in the
89
build.
910
---
10-
0 files changed
11+
server/pom.xml | 5 +++++
12+
1 file changed, 5 insertions(+)
1113

1214
diff --git a/server/pom.xml b/server/pom.xml
13-
index 410b51480e..b7dcf46111 100644
15+
index ec2f4dec4f..3861f18ed1 100644
1416
--- a/server/pom.xml
1517
+++ b/server/pom.xml
1618
@@ -205,6 +205,11 @@

druid/stackable/patches/30.0.0/06-dont-build-targz.patch renamed to druid/stackable/patches/30.0.0/0006-Stop-building-the-tar.gz-distribution.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
Stop building the tar.gz distribution.
2-
1+
From c2a67767f6e06dcf7ea2bad4f7616cf69717b3b6 Mon Sep 17 00:00:00 2001
32
From: Lars Francke <[email protected]>
3+
Date: Mon, 17 Feb 2025 16:42:49 +0100
4+
Subject: Stop building the tar.gz distribution.
45

56
All we do is build Druid tar and gzip it only to immediately uncompress it
67
again. So, instead we just skip the compression step entirely.
78
---
8-
distribution/src/assembly/assembly.xml | 2 +-
9+
distribution/src/assembly/assembly.xml | 2 +-
910
1 file changed, 1 insertion(+), 1 deletion(-)
1011

1112
diff --git a/distribution/src/assembly/assembly.xml b/distribution/src/assembly/assembly.xml

druid/stackable/patches/30.0.0/07-cyclonedx-plugin.patch renamed to druid/stackable/patches/30.0.0/0007-Update-CycloneDX-plugin.patch

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
From eed0684b8097203e9d61c52093eb6dfe0960850d Mon Sep 17 00:00:00 2001
2+
From: Lukas Voetmand <[email protected]>
3+
Date: Fri, 6 Sep 2024 17:53:52 +0200
4+
Subject: Update CycloneDX plugin
5+
6+
---
7+
pom.xml | 6 +++++-
8+
1 file changed, 5 insertions(+), 1 deletion(-)
9+
110
diff --git a/pom.xml b/pom.xml
2-
index 9051ed2..10a2c85 100644
11+
index 38c6b8dbb5..de1a3bddc4 100644
312
--- a/pom.xml
413
+++ b/pom.xml
5-
@@ -1728,7 +1728,11 @@
14+
@@ -1700,7 +1700,11 @@
615
<plugin>
716
<groupId>org.cyclonedx</groupId>
817
<artifactId>cyclonedx-maven-plugin</artifactId>

druid/stackable/patches/30.0.0/08-CVE-2024-36114-bump-aircompressor-0-27.patch renamed to druid/stackable/patches/30.0.0/0008-Fix-CVE-2024-36114.patch

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
Fix CVE-2024-36114
1+
From 0d9d6f564c52234c1eba4762c465a95f52cf8f0a Mon Sep 17 00:00:00 2001
2+
From: Malte Sander <[email protected]>
3+
Date: Thu, 12 Dec 2024 17:59:17 +0100
4+
Subject: Fix CVE-2024-36114
5+
26
see https://github.com/stackabletech/vulnerabilities/issues/834
37

48
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and
@@ -17,12 +21,15 @@ have been fixed. When decompressing data from untrusted users, this can
1721
be exploited for a denial-of-service attack by crashing the JVM, or to
1822
leak other sensitive information from the Java process. There are no
1923
known workarounds for this issue.
24+
---
25+
pom.xml | 6 ++++++
26+
1 file changed, 6 insertions(+)
2027

2128
diff --git a/pom.xml b/pom.xml
22-
index 9051ed24c5..e839295b61 100644
29+
index de1a3bddc4..7beda6238f 100644
2330
--- a/pom.xml
2431
+++ b/pom.xml
25-
@@ -283,6 +283,12 @@
32+
@@ -255,6 +255,12 @@
2633
</pluginRepositories>
2734
<dependencyManagement>
2835
<dependencies>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From f6634ac02aa2fab11811915283e92c7b9ae1af5e Mon Sep 17 00:00:00 2001
2+
From: Lars Francke <[email protected]>
3+
Date: Thu, 12 Dec 2024 06:35:21 +0100
4+
Subject: Update FMPP version
5+
6+
This is because FMPP Maven Plugin depends on FMPP in version 0.9.14
7+
which itself depends on a Freemarker version that has not been pinned.
8+
Instead it specifies a "range" which resolves to a SNAPSHOT version
9+
which we don't want.
10+
---
11+
sql/pom.xml | 7 +++++++
12+
1 file changed, 7 insertions(+)
13+
14+
diff --git a/sql/pom.xml b/sql/pom.xml
15+
index 6669d43e52..1d02e4ef58 100644
16+
--- a/sql/pom.xml
17+
+++ b/sql/pom.xml
18+
@@ -384,6 +384,13 @@
19+
<plugin>
20+
<groupId>com.googlecode.fmpp-maven-plugin</groupId>
21+
<artifactId>fmpp-maven-plugin</artifactId>
22+
+ <dependencies>
23+
+ <dependency>
24+
+ <groupId>net.sourceforge.fmpp</groupId>
25+
+ <artifactId>fmpp</artifactId>
26+
+ <version>0.9.16</version>
27+
+ </dependency>
28+
+ </dependencies>
29+
<executions>
30+
<execution>
31+
<id>generate-fmpp-sources</id>

druid/stackable/patches/30.0.0/10-cve-2023-34455-rm-snappy.patch renamed to druid/stackable/patches/30.0.0/0010-Fix-CVE-2023-34455.patch

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
Fix CVE-2023-34455
1+
From 4832e1270c2f541ad3724455034cbec394ba6263 Mon Sep 17 00:00:00 2001
2+
From: Razvan-Daniel Mihai <[email protected]>
3+
Date: Tue, 28 Jan 2025 17:29:59 +0100
4+
Subject: Fix CVE-2023-34455
5+
26
see https://github.com/stackabletech/vulnerabilities/issues/558
37

48
At the end of build process, Druid downloads dependencies directly from a remote
@@ -8,6 +12,9 @@ The hadoop client depends on a vulnerable version of the snappy library which
812
is then also downloaded even though a newer version is already on the system.
913

1014
This patch removes the vulnerable jars.
15+
---
16+
distribution/pom.xml | 14 ++++++++++++++
17+
1 file changed, 14 insertions(+)
1118

1219
diff --git a/distribution/pom.xml b/distribution/pom.xml
1320
index d5918710ef..2d5bfc6ab4 100644

0 commit comments

Comments
 (0)