mchades commented on code in PR #14963:
URL: https://github.com/apache/gravitino/pull/14963#discussion_r4595912377
##########
catalogs/catalog-kafka/build.gradle.kts:
##########
@@ -33,6 +33,12 @@ 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:
With this Kafka upgrade, Maven consumers of `gravitino-catalog-kafka` move
from `snappy-java:1.1.8.4` to `1.1.10.5`. Trivy still reports CVE-2026-108106
and CVE-2026-93451 (both HIGH) on that JAR. The binary distribution already
ships `1.1.10.12` through Gradle’s version override. Please declare
`runtimeOnly(libs.snappy.java)` alongside LZ4. With that line, the same Maven
consumer resolved `1.1.10.12` and its runtime classpath scan had no remaining
HIGH/CRITICAL findings.
--
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]