Skip to content

Commit 87c3d8b

Browse files
cristianrcvclaude
andcommitted
fix(deps): upgrade shadow plugin to resolve log4j-core XmlLayout vuln (COMP-1573)
The com.github.johnrengelman.shadow 8.1.1 build plugin transitively bundled org.apache.logging.log4j:log4j-core 2.20.0 in the build tooling classpath, which is affected by CVE-2026-34480 / GHSA-3pxv-7cmr-fjr4 (XmlLayout fails to sanitize characters forbidden by the XML 1.0 spec; fixed in log4j-core 2.25.4). Migrate to the successor plugin com.gradleup.shadow 9.5.0, which ships log4j-core 2.26.1 (>= 2.25.4). Shadow 9.x requires Gradle 9, so the Gradle wrapper is bumped 8.13 -> 9.6.1 and the GraalVM native-build-tools plugin 0.10.6 -> 1.1.3 (first line to support Gradle 9). Verified: shadowJar builds and all tests pass under Gradle 9.6.1. See: https://github.com/seqeralabs/wave-cli/security/dependabot/16 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9655b24 commit 87c3d8b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
22
id 'groovy'
33
id 'io.seqera.wave.cli.java-application-conventions'
4-
id 'org.graalvm.buildtools.native' version '0.10.6'
5-
id 'com.github.johnrengelman.shadow' version '8.1.1'
4+
id 'org.graalvm.buildtools.native' version '1.1.3'
5+
id 'com.gradleup.shadow' version '9.5.0'
66
}
77

88
java {

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
distributionBase=GRADLE_USER_HOME
1919
distributionPath=wrapper/dists
20-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
20+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
2121
networkTimeout=10000
2222
zipStoreBase=GRADLE_USER_HOME
2323
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)