fix: resolve all open Dependabot security alerts#317
Conversation
- Bump pillow 12.2.0 -> 12.3.0 in template/requirements.txt, python/poetry.lock, and chart_data_extractor/poetry.lock (25 alerts: heap OOB writes, decompression bomb bypasses, DoS) - Update js-yaml to 3.15.0 / 4.3.0 (GHSA-52cp-r559-cp3m, GHSA-h67p-54hq-rp68: quadratic merge-key DoS) - Update brace-expansion to 1.1.16 (GHSA-3jxr-9vmj-r5cp) - Force esbuild >=0.28.1 via pnpm override (GHSA-g7r4-m6w7-qqqr); vite 7.3.5 and tsup 8.5.1 both pin ^0.27.0, so an override is required. Verified tsup build and vitest transform still work. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PR SummaryLow Risk Overview On the JS side, root Reviewed by Cursor Bugbot for commit 79757a0. Bugbot is set up for automated code reviews on this repo. Configure here. |
python/poetry.lock and chart_data_extractor/poetry.lock are now both lock-version 2.1, which Poetry 1.8.5 cannot install deterministically (it silently re-resolves). The chart_data_extractor lock was already lock-version 2.1 on main, so charts CI was already affected; pinning 2.1.1 (the binary that generated both locks in this PR) fixes both. Verified with `poetry check --lock` and `poetry install --dry-run` in both packages. All poetry commands used in CI (install, install --with dev, build, run, config pypi-token, publish --skip-existing) are unchanged in Poetry 2.x. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Fixes all 30 open alerts on https://github.com/e2b-dev/code-interpreter/security/dependabot
Pillow 12.2.0 → 12.3.0 (25 alerts, high/medium)
Bumped in all three manifests:
template/requirements.txt,python/poetry.lock,chart_data_extractor/poetry.lock. Fixes heap out-of-bounds writes (ImageCmsTransform.apply(),Image.paste()/crop(),RankFilter), several decompression-bomb-check bypasses (font loading, GD images), OS command injection inWindowsViewer.get_command(), and multiple DoS issues. Includes a changeset for@e2b/code-interpreter-template.npm transitive deps in
pnpm-lock.yaml(5 alerts)^0.27.0, so this needs apnpm.overridesentry in the rootpackage.json.Verification
poetry lockdiffs contain only the pillow version change (rest is wheel-hash churn)pnpm run buildinjs/(tsc + tsup) succeeds with esbuild 0.28.1🤖 Generated with Claude Code