Skip to content

Commit d03d506

Browse files
authored
fix(deps): batch security update — 17 CVEs from release image scan (#41947)
## Summary Remediates 17 CRITICAL/HIGH CVEs (57 scanner findings) detected by scanning the `appsmith/appsmith-ee:release` Docker image (digest `597f187a`). All fixes are same-major dependency pins — no code changes. | Dependency | Change | CVEs | |---|---|---| | spring-boot-starter-parent | 3.5.12 → 3.5.14 | CVE-2026-40973 | | jackson-bom / jackson | 2.17.0 → 2.18.8 | CVE-2026-54512, CVE-2026-54513 | | netty (pinned over Boot BOM) | → 4.1.135.Final | CVE-2026-42583, CVE-2026-42579, CVE-2026-42584, CVE-2026-42587, CVE-2026-33870, CVE-2026-33871, CVE-2026-44249, CVE-2026-45416, CVE-2026-50010, CVE-2026-45674, CVE-2026-47691 | | commons-io (dependencyManagement) | → 2.20.0 | CVE-2024-47554 (transitive via databricks-sdk-java) | | plexus-utils (dependencyManagement) | → 3.6.1 | CVE-2025-67030 | | aws-java-sdk (amazons3Plugin, awsLambdaPlugin) | 1.12.261 / 1.12.622 → 1.12.797 | CVE-2024-21634 (drops unpatched `software.amazon.ion:ion-java` entirely) | ### Verification - `mvn clean install -DskipTests` passes on this branch (CE) and on EE with this commit cherry-picked (sync simulation applied cleanly — no conflicts). - Trivy re-scan of the built server + all plugin jars (CE and EE builds) confirms every targeted CVE is gone. Remaining findings are all known non-actionable: `com.appsmith:*` self-advisories (already handled via GHSA lifecycle), `mssql-jdbc` (false positive — installed `11.2.4.jre11` **is** the patched version; scanner drops the `.jre11` suffix), `ini4j` (no fixed version exists upstream), and jackson 2.16.0 shaded **inside** the `databricks-jdbc` fat jar (not resolvable via Maven; needs a databricks-jdbc 2.6.40 → 2.7.x bump, deferred as a separate follow-up). - `mvn spotless:check` clean; pre-commit hooks passed. ### Out of scope (image-level, tracked separately) Keycloak jars (`opt/keycloak/**`), Temporal go binaries (`opt/temporal/**`), Node's bundled `undici`, and RTS `nodemailer` (major bump) — these are not fixable from this repo's poms. ## Automation /ok-to-test tags="@tag.All" <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/28682481837> > Commit: 06ae9cc > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=28682481837&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Fri, 03 Jul 2026 21:42:23 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Updated several bundled library versions to address known security vulnerabilities. * Improved dependency consistency across the app to reduce the risk of runtime issues caused by outdated transitive packages. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 56ee2cd commit d03d506

3 files changed

Lines changed: 28 additions & 5 deletions

File tree

app/server/appsmith-plugins/amazons3Plugin/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-java-sdk-bom</artifactId>
22-
<version>1.12.261</version>
22+
<!-- 1.12.795+ drops the unpatched software.amazon.ion:ion-java dependency (CVE-2024-21634) -->
23+
<version>1.12.797</version>
2324
<type>pom</type>
2425
<scope>import</scope>
2526
</dependency>

app/server/appsmith-plugins/awsLambdaPlugin/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
<dependency>
1919
<groupId>com.amazonaws</groupId>
2020
<artifactId>aws-java-sdk-lambda</artifactId>
21-
<version>1.12.622</version>
21+
<!-- 1.12.795+ drops the unpatched software.amazon.ion:ion-java dependency (CVE-2024-21634) -->
22+
<version>1.12.797</version>
2223
<exclusions>
2324
<exclusion>
2425
<groupId>com.fasterxml.jackson.core</groupId>
@@ -29,7 +30,7 @@
2930
<dependency>
3031
<groupId>com.amazonaws</groupId>
3132
<artifactId>aws-java-sdk-osgi</artifactId>
32-
<version>1.12.622</version>
33+
<version>1.12.797</version>
3334
<exclusions>
3435
<exclusion>
3536
<groupId>com.fasterxml.jackson.core</groupId>

app/server/pom.xml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727

2828
<properties>
2929
<deploy.disabled>true</deploy.disabled>
30-
<jackson-bom.version>2.17.0</jackson-bom.version>
31-
<jackson.version>2.17.0</jackson.version>
30+
<!-- Pinned to 2.18.8 for CVE-2026-54512 / CVE-2026-54513 -->
31+
<jackson-bom.version>2.18.8</jackson-bom.version>
32+
<jackson.version>2.18.8</jackson.version>
3233
<java.version>25</java.version>
3334
<javadoc.disabled>true</javadoc.disabled>
3435
<!-- Pin Lombok to 1.18.42 to avoid breaking @FieldNameConstants inner class constructor change in 1.18.44 -->
@@ -37,6 +38,7 @@
3738
<maven.compiler.target>${java.version}</maven.compiler.target>
3839
<mockito.version>4.4.0</mockito.version>
3940
<mockwebserver.version>5.0.0-alpha.2</mockwebserver.version>
41+
<!-- Pinned above the Spring Boot BOM default for CVE-2026-42583/42579/42584/42587/33870/33871/44249/45416/50010/45674/47691 -->
4042
<netty.version>4.1.135.Final</netty.version>
4143
<okhttp3.version>4.12.0</okhttp3.version>
4244
<org.pf4j.version>3.15.0</org.pf4j.version>
@@ -55,6 +57,25 @@
5557
<spotless.version>3.0.0</spotless.version>
5658
<testcontainers.version>1.20.1</testcontainers.version>
5759
</properties>
60+
61+
<dependencyManagement>
62+
<dependencies>
63+
<!-- Force patched versions onto transitive dependencies bundled into plugin jars. -->
64+
<dependency>
65+
<!-- CVE-2024-47554: databricks-sdk-java pulls 2.13.0 -->
66+
<groupId>commons-io</groupId>
67+
<artifactId>commons-io</artifactId>
68+
<version>2.20.0</version>
69+
</dependency>
70+
<dependency>
71+
<!-- CVE-2025-67030: transitive 3.2.0 in appsmith-server -->
72+
<groupId>org.codehaus.plexus</groupId>
73+
<artifactId>plexus-utils</artifactId>
74+
<version>3.6.1</version>
75+
</dependency>
76+
</dependencies>
77+
</dependencyManagement>
78+
5879
<build>
5980
<resources>
6081
<resource>

0 commit comments

Comments
 (0)