Skip to content

Commit 7bf4db9

Browse files
fix: update vulnerable dependencies — cryptography, langchain-core, pypdf (#103)
- cryptography >=42.0.0 → >=46.0.5: Fix subgroup attack on SECT curves - langchain-core >=0.1.0 → >=1.2.11: Fix SSRF via image_url token counting - pypdf >=4.0.0 → >=6.0.0: Fix 14 DoS/infinite-loop/RAM-exhaustion vulns Closes Dependabot alerts #75-#90. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fb230bb commit 7bf4db9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/agent-os/modules/caas/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
fastapi>=0.115.0,<1.0.0 # pinned
22
uvicorn[standard]>=0.27.0,<1.0.0 # pinned
33
pydantic>=2.5.0,<3.0.0 # pinned
4-
pypdf>=4.0.0,<5.0.0 # pinned
4+
pypdf>=6.0.0,<7.0.0 # pinned — CVE fix: multiple DoS/infinite-loop vulnerabilities
55
beautifulsoup4>=4.12.2,<5.0.0 # pinned
66
lxml>=4.9.3,<6.0.0 # pinned
77
python-multipart>=0.0.22,<1.0.0 # pinned

packages/agent-os/modules/scak/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ streamlit>=1.37.0,<2.0.0 # pinned: For telemetry dashboard
3939
jupyter>=1.0.0,<2.0.0 # pinned: For interactive notebooks
4040

4141
# LangChain Integration
42-
langchain>=0.1.0,<1.0.0 # pinned: For LangChain integration
43-
langchain-core>=0.1.0,<1.0.0 # pinned: Core LangChain abstractions
42+
langchain>=0.3.0,<1.0.0 # pinned: For LangChain integration
43+
langchain-core>=1.2.11,<2.0.0 # pinned — CVE fix: SSRF via image_url token counting
4444

4545
# Distributed Computing (uncomment as needed)
4646
# ray>=2.8.0 # For distributed execution

packages/agent-os/services/cloud-board/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pydantic>=2.5.0,<3.0.0 # pinned
2222
# aiocache>=0.12.0
2323

2424
# Cryptography
25-
cryptography>=42.0.0,<45.0.0 # pinned
25+
cryptography>=46.0.5,<48.0.0 # pinned — CVE fix: subgroup attack on SECT curves
2626
pynacl>=1.5.0,<2.0.0 # pinned
2727

2828
# Observability

0 commit comments

Comments
 (0)