Commit ab8ebfe
fix(deps): address critical and high severity security vulnerabilities (#5742)
## Summary
Addresses all 10 critical/high severity Python dependency
vulnerabilities identified in the dependency audit (LES-11).
**Changes:**
- Added 6 new constraint-dependencies in `pyproject.toml` for transitive
packages: `authlib`, `cryptography`, `gitpython`, `pillow`,
`python-socketio`, `werkzeug`
- Bumped existing `aiohttp` constraint from `>=3.13.3` to `>=3.13.4`
- Bumped `pypdf` version floor from `>=6.7.2` to `>=6.10.2` across all
dependency groups (starter, dev, type_checking, unit, test)
- Added version floor for `litellm>=1.83.7` in unit dependency group
- Added version floor for `transformers>=5.0.0` in test dependency group
- Regenerated `uv.lock`
**Vulnerability reduction:** 60 → 15 known vulnerabilities (remaining 15
are medium/low severity)
## Packages Updated
| Package | Before | After | CVEs Fixed |
|---------|--------|-------|-----------|
| aiohttp | 3.13.3 | 3.13.5 | 10 (CRLF injection, header leak, DoS) |
| authlib | 1.6.1 | 1.7.2 | 8 (account takeover, JWE padding oracle, sig
bypass) |
| cryptography | 45.0.5 | 48.0.0 | 3 (buffer overflow, DNS constraint
bypass) |
| gitpython | 3.1.45 | 3.1.50 | 2 (command injection) |
| litellm | 1.74.9 | 1.83.7 | 4 (privilege escalation, auth bypass, RCE)
|
| pillow | 12.1.1 | 12.2.0 | 5 (heap overflow, OOB write, DoS) |
| pypdf | 6.7.5 | 6.10.2 | 8 (RAM exhaustion, infinite loops) |
| python-socketio | 5.13.0 | 5.16.1 | 1 (RCE via pickle deserialization)
|
| transformers | 4.57.1 | 5.8.0 | 1 (arbitrary code execution in
Trainer) |
| werkzeug | 3.1.3 | 3.1.8 | 3 (safe_join device name bypass) |
## Test plan
- [ ] Verify `uv lock` resolves without errors
- [ ] Run `uv audit` and confirm critical/high vulns are resolved
- [ ] Run unit tests to verify no regressions from dependency updates
- [ ] Run integration tests (replay mode) to verify compatibility
---------
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>1 parent 5bf9170 commit ab8ebfe
2 files changed
Lines changed: 529 additions & 323 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
| 15 | + | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| 26 | + | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
103 | | - | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
140 | 149 | | |
141 | 150 | | |
142 | 151 | | |
143 | | - | |
| 152 | + | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| |||
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
157 | | - | |
| 166 | + | |
158 | 167 | | |
159 | 168 | | |
160 | 169 | | |
| |||
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
197 | | - | |
| 206 | + | |
198 | 207 | | |
199 | 208 | | |
200 | 209 | | |
| |||
217 | 226 | | |
218 | 227 | | |
219 | 228 | | |
220 | | - | |
| 229 | + | |
221 | 230 | | |
222 | 231 | | |
223 | 232 | | |
| |||
0 commit comments