Commit 561d89d
Move dependencyManagement to parent pom to fix CVE-2025-48924 in uber jar (#1294)
## Summary
- The `dependencyManagement` overrides for `commons-lang3` and `gson`
were only in `jdbc-core/pom.xml`, not inherited by `assembly-uber`
- The uber jar was bundling `commons-lang3:3.14.0` (from
`commons-configuration2` transitive dep) instead of `3.18.0`
- Moved overrides to parent `pom.xml` so all modules resolve safe
versions
Fixes #1293
## Test plan
- [x] `mvn dependency:tree -pl jdbc-core` shows `commons-lang3:3.18.0`
- [x] `mvn dependency:tree -pl assembly-uber` shows
`commons-lang3:3.18.0`
- [ ] CI unit tests pass
NO_CHANGELOG=true
Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com>
Co-authored-by: Samikshya Chand <148681192+samikshya-db@users.noreply.github.com>1 parent 04439ee commit 561d89d
2 files changed
Lines changed: 19 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 46 | | |
63 | 47 | | |
64 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
105 | 124 | | |
106 | 125 | | |
107 | 126 | | |
| |||
0 commit comments