Repository navigation
fix(deps): bump e2b on Python >=3.11 to pull patched wcmatch (GHSA-53pm-wgxf-c6qf) - #9632
Conversation
Strix Security ReviewWarning This pull request has 11 commits after the last Strix review ( ✅ No open security findings. PR summary: Splits the optional `crewai-tools[e2b]` extra by Python version so 3.11+ installs e2b 2.64 with a patched wcmatch (>=11.2), while 3.10 keeps e2b 2.20, and refreshes `uv.lock`; the only source edit is a type-ignore comment on the lazy e2b import. Review summaryNo security issues found. The change is dependency metadata: the optional Ruled out (3)
Review history (2)
Review 2 on this PR · Reviewed by Strix |
8b488c4 to
69c4c8a
Compare
iris-clawd
left a comment
There was a problem hiding this comment.
I did not verify live E2B behavior.
One small note inline, nothing blocking.
Not holding this for it, but worth a ticket so it is not forgotten: E2B 2.64 introduces an unverified pyqwest source-build path for s390x consumers.
Someone else should sign off on this too: it touches lib/crewai-tools/pyproject.toml, uv.lock, which always gets a human look.
|
Strix (@strix-security) please review the latest commits (e2b bump on Python >=3.11 and the type-ignore update). |
Nick (surlymochan)
left a comment
There was a problem hiding this comment.
Verified the fix path: for Python >= 3.11 the lock now resolves the patched wcmatch line (bracex 3.2.3 in the updated uv.lock), matching the GHSA-53pm-wgxf-c6qf fix requirement, and the e2b~=2.64.0 / wcmatch>=11.2 markers are scoped to python_version >= '3.11' as the comment describes.
One question on the other side of the marker: Python 3.10 stays on e2b~=2.20.0 with no wcmatch floor. Does a 3.10 install still resolve a vulnerable wcmatch < 11.2 through that e2b line, leaving the ReDoS open there? If 3.10 is still a supported runtime, is that exposure accepted (or documented), or is 3.10 support being dropped alongside this bump?
Integrate the dependency fix and compatibility adjustment from crewAIInc#9632. Python 3.10 retains the existing E2B dependency because wcmatch 11.2 requires Python 3.11. Co-authored-by: Vidit-Ostwal <viditostwal@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Integrate the dependency fix and compatibility adjustment from crewAIInc#9632. Python 3.10 retains the existing E2B dependency because wcmatch 11.2 requires Python 3.11. Co-authored-by: Vidit-Ostwal <viditostwal@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
wcmatch <=11.1 is affected; the fix (11.2) requires Python >=3.11 and the pinned e2b~=2.20.0 caps wcmatch<11. It is only pulled in through the optional crewai-tools[e2b] extra. Ignore it in both the vulnerability scan workflow and the pre-commit hook until e2b can be bumped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the GHSA-53pm-wgxf-c6qf pip-audit ignore with a real fix. On Python >=3.11 the e2b extra now uses e2b~=2.64.0 and wcmatch>=11.2. Python 3.10 keeps e2b~=2.20.0 (wcmatch 10.x) since the patched wcmatch requires Python >=3.11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
e2b 2.64 (Python >=3.11) ships type hints, so mypy flags the import-untyped ignore as unused; Python 3.10 still resolves the untyped e2b 2.20 and needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
69c4c8a to
cb699da
Compare
Summary
The Vulnerability Scan on `main` started failing after GHSA-53pm-wgxf-c6qf was published (wcmatch <=11.1: polynomial-time ReDoS when matching untrusted names against multi-star patterns, medium). wcmatch is pulled in only via the optional `crewai-tools[e2b]` extra.
The fix (wcmatch 11.2) requires Python >=3.11, and the old `e2b~=2.20.0` pin caps `wcmatch<11`. So the e2b extra is split by Python version:
`e2b-code-interpreter~=2.6.0` accepts `e2b>=2.20.3,<3`, so it is unchanged. The vulnerability scan runs on Python 3.11, so no pip-audit ignore is needed.
Test plan
🤖 Generated with Claude Code