Skip to content

Fix critical vulnerabilities #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

theCyberTech
Copy link
Member

Update unstructured from 0.10.25 to >=0.16.20 (fixes XXE injection & info exposure) - Update CrewAI from 0.11.0 to ^0.126.0 (latest stable version) - Update opencv-python from 4.8.1.78 to >=4.11.0.86 (fixes critical heap buffer overflow CVE-2023-4863) - Update prep-for-a-meeting requirements.txt with latest CrewAI - All updates address critical security vulnerabilities and improve compatibility

…0.16.20 (fixes XXE injection & info exposure) - Update CrewAI from 0.11.0 to ^0.126.0 (latest stable version) - Update opencv-python from 4.8.1.78 to >=4.11.0.86 (fixes critical heap buffer overflow CVE-2023-4863) - Update prep-for-a-meeting requirements.txt with latest CrewAI - All updates address critical security vulnerabilities and improve compatibility
@theCyberTech theCyberTech requested a review from Copilot June 7, 2025 12:40
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades key dependencies across several services to resolve critical security vulnerabilities and improve compatibility.

  • Bump unstructured from 0.10.25 to >=0.16.20 to fix XXE injection and information exposure.
  • Upgrade crewai from 0.11.0 to 0.126.0 in both Poetry and pip requirements.
  • Update opencv-python to >=4.11.0.86 to address a heap buffer overflow (CVE-2023-4863).

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
trip_planner/pyproject.toml Updated crewai and unstructured versions
prep-for-a-meeting/requirements.txt Updated crewai version
instagram_post/pyproject.toml Updated crewai and opencv-python versions

@@ -6,8 +6,8 @@ authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = ">=3.10.0,<3.12"
crewai = "^0.11.0"
unstructured = '==0.10.25'
crewai = "^0.126.0"
Copy link
Preview

Copilot AI Jun 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Using a caret (^) allows upgrading to versions with potential breaking changes; consider specifying an upper bound (e.g., ">=0.126.0,<0.130.0") to prevent unintended major version bumps.

Suggested change
crewai = "^0.126.0"
crewai = ">=0.126.0,<0.130.0"

Copilot uses AI. Check for mistakes.

crewai = "^0.11.0"
unstructured = '==0.10.25'
crewai = "^0.126.0"
unstructured = '>=0.16.20,<0.18.0'
Copy link
Preview

Copilot AI Jun 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After updating dependencies in pyproject.toml, please run poetry lock and commit the updated poetry.lock file to keep the lock state in sync with declared versions.

Copilot uses AI. Check for mistakes.

@@ -1,4 +1,4 @@
langchain-exa==0.0.1
exa_py==1.0.7
python-dotenv==1.0.1
crewai==0.11.0
crewai>=0.126.0,<0.130.0
Copy link
Preview

Copilot AI Jun 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The version specifier style here differs from other dependency files; consider unifying the version range syntax across projects for consistency.

Suggested change
crewai>=0.126.0,<0.130.0
crewai==0.129.0

Copilot uses AI. Check for mistakes.

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.

1 participant