Commit 62bd371
fix: remediate CVEs in app image dependencies (#1896)
## Summary
Remediates the actionable CVEs from a recent trivy + grype scan of the
`app` image built from `main`.
- Bumps vulnerable transitive Python deps via `uv`
constraint-dependencies in `python/pyproject.toml`:
- aiohttp 3.13.3 → 3.13.5 (CVE-2026-22815, -34515, -34516, -34525)
- cryptography 46.0.5 → 48.0.0 (CVE-2026-39892)
- mako 1.3.10 → 1.3.12 (CVE-2026-44307, -41205)
- python-dotenv 1.1.1 → 1.2.2 (CVE-2026-28684)
- requests 2.32.5 → 2.34.2 (CVE-2026-25645)
- sqlparse 0.5.3 → 0.5.5 (GHSA-27jp-wm6q-gp25)
- Installs `uv` from upstream `ghcr.io/astral-sh/uv:0.11.15` via
multi-stage COPY in `python/Dockerfile` instead of the Wolfi `apk`
package, so the uv binary (and its Rust deps like `rkyv`) is pinned and
bumpable independent of the Wolfi release cadence.
- Overrides `brace-expansion` to 5.0.6 in the sandbox-runtime npm tree
(CVE-2026-45149), mirroring the existing lodash-es override.
CVEs left unaddressed are not actionable here: CPython CVEs marked `n/a`
(no upstream fix yet), pip CVE-2026-3219 (`not-fixed`), Alpine
`busybox`/`git` findings in `skills-init` (no upstream patch).
## Test plan
- [x] `uv lock --check` passes
- [x] `docker build -f python/Dockerfile ./python` succeeds
- [x] Built image: `uv --version` reports 0.11.15
- [x] Built image: aiohttp 3.13.5, cryptography 48.0.0, mako 1.3.12,
python-dotenv 1.2.2, requests 2.34.2, sqlparse 0.5.5 installed
- [x] Built image:
`/opt/sandbox-runtime/node_modules/brace-expansion/package.json` reports
5.0.6
- [ ] Re-run trivy + grype on the `app` image built from this branch to
confirm CVE counts drop
---
_PR opened by Claude on behalf of @EItanya._
---------
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 03ad0e6 commit 62bd371
6 files changed
Lines changed: 204 additions & 187 deletions
File tree
- python
- ui
- public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
0 commit comments