Skip to content

Commit 1d3bdc0

Browse files
authored
Bump dependencies to fix security alerts (#847)
Plugin-test tooling (test/plugin/pom.xml, inherited by runner-helper, agent-test-tools and containers; still built on JDK 8): - junit:junit 4.11 -> 4.13.2, CVE-2020-15250 - com.google.guava:guava 30.1.1-jre -> 33.7.2-jre, CVE-2020-8908, CVE-2023-2976, CVE-2026-102554 - org.yaml:snakeyaml 1.24 -> 2.7, CVE-2022-1471 and 7 others. The runner-helper only calls Yaml#loadAs with a root class, which 2.x keeps. test/plugin/runner-helper: - org.freemarker:freemarker 2.3.28 -> 2.3.35, CVE-2026-84939 - junit:junit 4.12 -> 4.13.2 (test scope) test/plugin/archetypes/tomcat archetype: - org.apache.logging.log4j:log4j-core/log4j-api 2.8.1 -> 2.25.5, CVE-2021-44228, CVE-2021-45046 and others Unit-test junit.version overrides 4.12 -> 4.13.2 (CVE-2020-15250) in httpClient-4.x-plugin, httpclient-5.x-plugin, solon-2.x-plugin, websphere-liberty-23.x-plugin and apm-test-tools. E2E services (test/e2e/base): - ch.qos.logback:logback-classic/logback-core 1.2.3 -> 1.2.13 (provider), CVE-2023-6378 - com.google.guava:guava 30.1.1-jre -> 33.7.2-jre (provider, consumer) Provided-scope plugin and toolkit dependencies are compile-only compatibility targets and are left unchanged. h2 1.4.199 in the E2E provider is left as is: every fix is in H2 2.x, which reserves the USER keyword the provider's User entity maps to and needs a newer Hibernate than the E2E services' Spring Boot 2.2.5 parent provides.
1 parent 09d7f0b commit 1d3bdc0

10 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎apm-sniffer/apm-sdk-plugin/httpClient-4.x-plugin/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<properties>
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<apache-httpclient.version>4.3</apache-httpclient.version>
37-
<junit.version>4.12</junit.version>
37+
<junit.version>4.13.2</junit.version>
3838
</properties>
3939

4040
<dependencies>

‎apm-sniffer/apm-sdk-plugin/httpclient-5.x-plugin/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<properties>
3434
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3535
<apache-httpclient.version>5.0</apache-httpclient.version>
36-
<junit.version>4.12</junit.version>
36+
<junit.version>4.13.2</junit.version>
3737
</properties>
3838

3939
<dependencies>

‎apm-sniffer/apm-sdk-plugin/solon-2.x-plugin/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<properties>
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<apache-httpclient.version>4.3</apache-httpclient.version>
37-
<junit.version>4.12</junit.version>
37+
<junit.version>4.13.2</junit.version>
3838
</properties>
3939

4040
<dependencies>

‎apm-sniffer/apm-sdk-plugin/websphere-liberty-23.x-plugin/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<artifactId>websphere-liberty-23.x-plugin</artifactId>
2929

3030
<properties>
31-
<junit.version>4.12</junit.version>
31+
<junit.version>4.13.2</junit.version>
3232
</properties>
3333

3434
<dependencies>

‎apm-sniffer/apm-test-tools/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<url>http://maven.apache.org</url>
3333

3434
<properties>
35-
<junit.version>4.12</junit.version>
35+
<junit.version>4.13.2</junit.version>
3636
</properties>
3737
<dependencies>
3838
<dependency>

‎test/e2e/base/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<maven.compiler.target>${java.version}</maven.compiler.target>
5353
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5454
<spring.boot.version>2.7.18</spring.boot.version>
55-
<guava.version>30.1.1-jre</guava.version>
55+
<guava.version>33.7.2-jre</guava.version>
5656
<lombok.version>1.18.20</lombok.version>
5757
</properties>
5858

‎test/e2e/base/provider/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<properties>
3434
<log4j.version>1.2.17</log4j.version>
3535
<log4j2.version>2.7</log4j2.version>
36-
<logback.version>1.2.3</logback.version>
36+
<logback.version>1.2.13</logback.version>
3737

3838
<spring.cloud.version>2.1.2.RELEASE</spring.cloud.version>
3939
<h2.version>1.4.199</h2.version>

‎test/plugin/archetypes/tomcat/src/main/resources/archetype-resources/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
<dependency>
4848
<groupId>org.apache.logging.log4j</groupId>
4949
<artifactId>log4j-api</artifactId>
50-
<version>2.8.1</version>
50+
<version>2.25.5</version>
5151
</dependency>
5252
<dependency>
5353
<groupId>org.apache.logging.log4j</groupId>
5454
<artifactId>log4j-core</artifactId>
55-
<version>2.8.1</version>
55+
<version>2.25.5</version>
5656
</dependency>
5757
<dependency>
5858
<groupId>org.projectlombok</groupId>

‎test/plugin/pom.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353

5454
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5555

56-
<junit.version>4.11</junit.version>
57-
<guava.version>30.1.1-jre</guava.version>
56+
<junit.version>4.13.2</junit.version>
57+
<guava.version>33.7.2-jre</guava.version>
5858
<gson.version>2.8.9</gson.version>
5959
<lombok.version>1.18.20</lombok.version>
60-
<snakeyaml.version>1.24</snakeyaml.version>
60+
<snakeyaml.version>2.7</snakeyaml.version>
6161

6262
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
6363
<checkstyle.fails.on.error>true</checkstyle.fails.on.error>

‎test/plugin/runner-helper/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>junit</groupId>
3636
<artifactId>junit</artifactId>
37-
<version>4.12</version>
37+
<version>4.13.2</version>
3838
<scope>test</scope>
3939
</dependency>
4040

@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.freemarker</groupId>
5050
<artifactId>freemarker</artifactId>
51-
<version>2.3.28</version>
51+
<version>2.3.35</version>
5252
</dependency>
5353
</dependencies>
5454

0 commit comments

Comments
 (0)