Skip to content

Commit 38ed291

Browse files
germanosinCopilot
andauthored
CVE: Reduced failure level to high (#1599)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 394dc79 commit 38ed291

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/cve_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # https://github.com/aquasecurity/trivy-action/releases/tag/0.33.1
7272
with:
7373
image-ref: "ghcr.io/kafbat/kafka-ui:latest"
74+
severity: "CRITICAL,HIGH"
7475
format: "table"
7576
exit-code: "1"
7677

api/build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ plugins {
77
alias(libs.plugins.spring.dependency.management)
88
}
99

10+
configurations.all {
11+
resolutionStrategy {
12+
capabilitiesResolution {
13+
withCapability("org.lz4:lz4-java") {
14+
select(libs.lz4.yawk.get().toString())
15+
}
16+
}
17+
}
18+
}
19+
1020

1121
import com.bmuschko.gradle.docker.tasks.image.DockerBuildImage
1222

@@ -30,7 +40,10 @@ dependencies {
3040

3141
implementation libs.spring.security.ldap
3242

33-
implementation libs.kafka.clients
43+
implementation (libs.kafka.clients) {
44+
// TODO: Remove once client would fix CVE
45+
exclude group: "org.lz4", module: "lz4-java"
46+
}
3447

3548
implementation libs.apache.avro
3649
implementation libs.apache.commons
@@ -74,10 +87,12 @@ dependencies {
7487
// CVE Fixes
7588
implementation libs.apache.commons.compress
7689
implementation libs.okhttp3.logging.intercepter
90+
implementation libs.lz4.yawk
7791

7892
implementation libs.modelcontextprotocol.spring.webflux
7993
implementation libs.victools.jsonschema.generator
8094

95+
8196
// Google Managed Service for Kafka IAM support
8297
implementation (libs.google.managed.kafka.login.handler) {
8398
exclude group: 'com.google.oauth-client', module: 'google-oauth-client'

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,6 @@ lucene-queryparser = {module = 'org.apache.lucene:lucene-queryparser', version.r
140140
lucene-analysis-common = {module = 'org.apache.lucene:lucene-analysis-common', version.ref = 'lucene'}
141141

142142
fastcsv = {module = 'de.siegmar:fastcsv', version = '4.1.0'}
143+
144+
# CVE-2025-12183 fix
145+
lz4-yawk = {module = 'at.yawk.lz4:lz4-java', version = '1.10.1'}

0 commit comments

Comments
 (0)