Commit e64d2bc
authored
fix(deps): Upgrade dependencies to address critical CVEs (#1716)
* fix: bump jackson to 2.21.2 to address CVE (SNYK-JAVA-COMFASTERXMLJACKSONCORE-15907551)
Upgrade jackson-bom from 2.16.2 to 2.21.2 to fix the high-severity
Allocation of Resources Without Limits or Throttling vulnerability
in jackson-core reported in #1714.
Signed-off-by: Javier Aliaga <javier@diagrid.io>
* fix(deps): upgrade dependencies to address multiple CVEs
- Spring Boot 3.4.10 → 3.4.13
- Spring Framework 6.2.11 → 6.2.17 (CVE injection)
- Jackson 3.x BOM 3.1.0 → 3.1.1 (SNYK-JAVA-TOOLSJACKSONCORE-15907550)
- Logback 1.5.18 → 1.5.25 (SNYK-JAVA-CHQOSLOGBACK-13169722, -15062482)
- Commons Compress 1.24.0 → 1.26.0 (SNYK-JAVA-ORGAPACHECOMMONS-6254296, -6254297)
- Tomcat Embed 10.1.46 → 10.1.52 (SNYK-JAVA-ORGAPACHETOMCATEMBED-15307781, -15307822)
Note: spring-boot-actuator auth bypass CVEs remain in example apps
only — requires Spring Boot 3.5.x which is a breaking change.
Signed-off-by: Javier Aliaga <javier@diagrid.io>
* fix(deps): upgrade Spring Boot to 3.5.12 and remove redundant overrides
Spring Boot 3.5.12 natively manages logback 1.5.32, tomcat 10.1.52,
and spring-framework 6.2.17 — removing all manual overrides that are
now unnecessary. This also resolves the spring-boot-actuator auth
bypass CVEs that required SB 3.5.x.
Only commons-compress 1.26.0 override remains (testcontainers transitive).
Signed-off-by: Javier Aliaga <javier@diagrid.io>
* chore(deps): remove unnecessary Jackson 3.x BOM overrides
Only dapr-spring-boot-4-autoconfigure and spring-boot-4-examples
actually use Jackson 3.x (tools.jackson.core). Removed the override
from 4 modules that don't pull it in transitively.
Signed-off-by: Javier Aliaga <javier@diagrid.io>
* fix(deps): add commons-codec dependency for commons-compress 1.26.0
Commons-compress 1.26.0 declares commons-codec as optional, but
testcontainers uses it at runtime causing ClassNotFoundException
for org.apache.commons.codec.Charsets.
Signed-off-by: Javier Aliaga <javier@diagrid.io>
* fix(deps): add commons-codec as direct dependency in testcontainers-dapr
The dependencyManagement entry alone doesn't pull in optional transitive
deps. commons-codec must be declared as a direct dependency so it's
available at runtime for commons-compress/testcontainers.
Signed-off-by: Javier Aliaga <javier@diagrid.io>
---------
Signed-off-by: Javier Aliaga <javier@diagrid.io>1 parent 14c41cf commit e64d2bc
4 files changed
Lines changed: 39 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
| |||
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| 84 | + | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
167 | 180 | | |
168 | 181 | | |
169 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
0 commit comments