mchades commented on code in PR #14963:
URL: https://github.com/apache/gravitino/pull/14963#discussion_r4596219571
##########
catalogs/catalog-kafka/build.gradle.kts:
##########
@@ -33,6 +33,17 @@ dependencies {
implementation(libs.kafka.clients)
implementation(libs.slf4j.api)
+ // kafka-clients pulls at.yawk.lz4:lz4-java 1.10.1, which is affected by
GHSA-mcr4-qmvw-px4g
+ // (CVE-2026-106451). Declare 1.11.4 as a direct dependency instead of a
constraint, so it also
+ // wins in the published POM: a constraint only becomes dependencyManagement
there, and Maven
+ // consumers of this artifact would still resolve 1.10.1 through
kafka-clients.
+ runtimeOnly(libs.yawk.lz4.java)
Review Comment:
The new `lz4-java-1.11.4.jar` bundles native LZ4 and xxHash. `LICENSE.bin`
lists only the Apache-2.0 Java wrapper, and the JAR omits the native
BSD-2-Clause text. Please identify the new fork in `LICENSE.bin` and ship the
native license and copyright notices under `licenses/`. Keep the old wrapper
entry too, as the Paimon catalog still packages `org.lz4:lz4-java:1.8.0`. [LZ4
license](https://github.com/lz4/lz4/blob/ebb370ca83af193212df4dcbadcc5d87bc0de2f0/lib/LICENSE)
ยท [xxHash
notice](https://github.com/lz4/lz4/blob/ebb370ca83af193212df4dcbadcc5d87bc0de2f0/lib/xxhash.c#L1-L27)
##########
gradle/libs.versions.toml:
##########
@@ -121,7 +122,7 @@ selenium = "4.33.0"
rauschig = "1.2.0"
mybatis = "3.5.6"
h2db = "2.2.224"
-kafka = "3.4.0"
+kafka = "3.9.2"
Review Comment:
Kafka 3.9.2 brings `zstd-jni:1.5.6-4` into the binary distribution.
`licenses/zstd.txt` covers the BSD-2-Clause JNI wrapper. The JAR also contains
native Zstandard and omits its BSD-3-Clause license text. Please ship that
license alongside the wrapper license and reference both from `LICENSE.bin`.
The previous zstd-jni version had the same gap. [Native Zstandard license for
1.5.6-4](https://github.com/luben/zstd-jni/blob/v1.5.6-4/src/main/native/LICENSE)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]