Skip to content

hotfix: Blocking vulnerable versions of litellm - #36

Merged
Wojciech-Rebisz merged 1 commit into
mainfrom
hotfix-litellm-compromised-versions
Mar 25, 2026
Merged

Wojciech-Rebisz merged 1 commit into
mainfrom
hotfix-litellm-compromised-versions

Conversation

@Wojciech-Rebisz

Copy link
Copy Markdown
Collaborator

According to https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/, versions 1.82.7 and 1.82.8 of litellm are vulnerable to supply chain attacks

@Wojciech-Rebisz
Wojciech-Rebisz requested a review from MRGuziX March 25, 2026 10:35
@coderabbitai

coderabbitai Bot commented Mar 25, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 959ad5b4-dd9f-41ec-9ac8-d2458a7e8caf

📥 Commits

Reviewing files that changed from the base of the PR and between e8139ce and 57a03c6.

📒 Files selected for processing (1)
  • agents/crewai/websearch_agent/pyproject.toml

📝 Walkthrough

Walkthrough

Updated the dependency constraints in pyproject.toml to explicitly exclude litellm versions 1.82.7 and 1.82.8, while maintaining the existing crewai[litellm]>=1.11.0 requirement. Added trailing whitespace to the dependency line.

Changes

Cohort / File(s) Summary
Dependency constraints
agents/crewai/websearch_agent/pyproject.toml
Added explicit version exclusions for litellm!=1.82.7,!=1.82.8 to prevent problematic releases; retained existing crewai[litellm]>=1.11.0 dependency.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: blocking vulnerable versions of litellm. It directly matches the changeset which adds version constraints to prevent installation of vulnerable versions.
Description check ✅ Passed The description is relevant to the changeset, providing context about why the change is necessary by referencing a security vulnerability in specific litellm versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hotfix-litellm-compromised-versions

Comment @coderabbitai help to get the list of available commands and usage tips.

@Wojciech-Rebisz
Wojciech-Rebisz merged commit 64c544a into main Mar 25, 2026
3 checks passed
@Wojciech-Rebisz
Wojciech-Rebisz deleted the hotfix-litellm-compromised-versions branch March 25, 2026 12:09
tarun-etikala referenced this pull request in tarun-etikala/agentic-starter-kits Apr 16, 2026
- Return HTTP 503 from /health when agent is uninitialized so K8s
  readiness probes correctly gate traffic (8 agents, audit #5)
- Bind local dev servers to 127.0.0.1 to prevent DNS rebinding
  attacks; container Dockerfiles remain at 0.0.0.0 (audit #36)
- Standardize FastAPI to >=0.135.1 across all agents (audit #33)
- Bump uvicorn in mcp_automl_template to >=0.41.0 (audit #34)
- Remove env:init dependency in react_with_database_memory (audit red-hat-data-services#46)
- Update post-helm-migration-audit.md (14 resolved, 4 accepted)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tarun-etikala referenced this pull request in tarun-etikala/agentic-starter-kits Apr 16, 2026
- Return HTTP 503 from /health when agent is uninitialized so K8s
  readiness probes correctly gate traffic (8 agents, audit #5)
- Bind local dev servers to 127.0.0.1 to prevent DNS rebinding
  attacks; container Dockerfiles remain at 0.0.0.0 (audit #36)
- Standardize FastAPI to >=0.135.1 across all agents (audit #33)
- Bump uvicorn in mcp_automl_template to >=0.41.0 (audit #34)
- Remove env:init dependency in react_with_database_memory (audit red-hat-data-services#46)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tarun-etikala referenced this pull request in tarun-etikala/agentic-starter-kits Apr 20, 2026
- Return HTTP 503 from /health when agent is uninitialized so K8s
  readiness probes correctly gate traffic (8 agents, audit #5)
- Bind local dev servers to 127.0.0.1 to prevent DNS rebinding
  attacks; container Dockerfiles remain at 0.0.0.0 (audit #36)
- Standardize FastAPI to >=0.135.1 across all agents (audit #33)
- Bump uvicorn in mcp_automl_template to >=0.41.0 (audit #34)
- Remove env:init dependency in react_with_database_memory (audit red-hat-data-services#46)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tarun-etikala referenced this pull request in tarun-etikala/agentic-starter-kits Apr 20, 2026
- Return HTTP 503 from /health when agent is uninitialized so K8s
  readiness probes correctly gate traffic (8 agents, audit #5)
- Bind local dev servers to 127.0.0.1 to prevent DNS rebinding
  attacks; container Dockerfiles remain at 0.0.0.0 (audit #36)
- Standardize FastAPI to >=0.135.1 across all agents (audit #33)
- Bump uvicorn in mcp_automl_template to >=0.41.0 (audit #34)
- Remove env:init dependency in react_with_database_memory (audit red-hat-data-services#46)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants