geyanggang commented on code in PR #14963:
URL: https://github.com/apache/gravitino/pull/14963#discussion_r4596264869
##########
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:
Confirmed (the jar has `liblz4-java` for several platforms and no license
file) and fixed in d05b09a37. `LICENSE.bin` now lists `LZ4 Java (at.yawk.lz4
fork)` next to the existing `LZ4 and XxHash` entry, which stays for Paimon. It
also lists the native LZ4 and xxHash code in the BSD group. The new
`licenses/lz4.txt` holds the LZ4 library license and the xxHash BSD-2-Clause
text from the commit you linked, and `LICENSE.bin` points to it.
##########
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:
Confirmed (the jar has native zstd for many platforms and no license file)
and fixed in d05b09a37. The new `licenses/zstd-native.txt` is the
`src/main/native/LICENSE` text of zstd-jni v1.5.6-4 (BSD, with the Facebook
no-endorsement clause). `LICENSE.bin` lists the native Zstandard code under the
BSD group and points to both `licenses/zstd.txt` and `licenses/zstd-native.txt`.
--
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]