Skip to content

Commit ff58e90

Browse files
authored
KAFKA-19359: force bump commons-beanutils for CVE-2025-48734 (#19939)
Bump the commons-beanutils for CVE-2025-48734. Since `commons-validator` hasn't had new release with newer `commons-beanutils` versions, we manually bump it in kafka. Reviewers: Mickael Maison <[email protected]>
1 parent 7dd07eb commit ff58e90

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

LICENSE-binary

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ This project bundles some components that are also licensed under the Apache
206206
License Version 2.0:
207207

208208
- caffeine-3.2.0
209-
- commons-beanutils-1.9.4
209+
- commons-beanutils-1.11.0
210210
- commons-collections-3.2.2
211211
- commons-digester-2.1
212212
- commons-lang3-3.12.0
213-
- commons-logging-1.3.2
213+
- commons-logging-1.3.5
214214
- commons-validator-1.9.0
215215
- hash4j-0.22.0
216216
- jackson-annotations-2.19.0

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ allprojects {
193193
// ensure we have a single version in the classpath despite transitive dependencies
194194
libs.scalaLibrary,
195195
libs.scalaReflect,
196+
// Workaround before `commons-validator` has new release. See KAFKA-19359.
197+
libs.commonsBeanutils,
196198
libs.jacksonAnnotations
197199
)
198200
}

gradle/dependencies.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ versions += [
5757
caffeine: "3.2.0",
5858
bndlib: "7.1.0",
5959
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion : "10.20.2",
60+
commonsBeanutils: "1.11.0",
6061
commonsValidator: "1.9.0",
6162
classgraph: "4.8.179",
6263
gradle: "8.14.1",
@@ -147,6 +148,7 @@ libs += [
147148
bndlib:"biz.aQute.bnd:biz.aQute.bndlib:$versions.bndlib",
148149
caffeine: "com.github.ben-manes.caffeine:caffeine:$versions.caffeine",
149150
classgraph: "io.github.classgraph:classgraph:$versions.classgraph",
151+
commonsBeanutils: "commons-beanutils:commons-beanutils:$versions.commonsBeanutils",
150152
commonsValidator: "commons-validator:commons-validator:$versions.commonsValidator",
151153
jacksonAnnotations: "com.fasterxml.jackson.core:jackson-annotations:$versions.jackson",
152154
jacksonDatabind: "com.fasterxml.jackson.core:jackson-databind:$versions.jackson",

0 commit comments

Comments
 (0)