Skip to content

fix(deps): require aiohttp >=3.14.1 for VULN-88795#123

Draft
shuningc wants to merge 3 commits into
mainfrom
VULN-88795-aiohttp-upgrade
Draft

fix(deps): require aiohttp >=3.14.1 for VULN-88795#123
shuningc wants to merge 3 commits into
mainfrom
VULN-88795-aiohttp-upgrade

Conversation

@shuningc

Copy link
Copy Markdown
Contributor

Summary

  • Add direct floor aiohttp = ">=3.14.1,<4" to remediate VULN-88795 (TLS SNI server_hostname bypass on reused connections; fixed in 3.14.1).
  • poetry.lock resolves aiohttp 3.14.2 (only aiohttp version changed).
  • Example requirements.txt pins bumped to aiohttp==3.14.1; langgraph-fsi-agent/before/poetry.lock regenerated to 3.14.2.

Notes

  • aiohttp was transitive-only; the direct constraint follows the same convention used for other VULN fixes (idna/filelock).
  • Regenerating the langgraph example lock also reconciled a ruff entry that was declared in its pyproject but missing from the stale lock.

Test plan

  • poetry check
  • poetry run pytest tests/ (1988 passed, 10 skipped)

Jira

VULN-88795

shuningc and others added 2 commits July 22, 2026 16:41
Add a direct aiohttp security floor to remediate the TLS SNI server_hostname
bypass on reused connections (fixed in 3.14.1). Main lock resolves aiohttp 3.14.2;
example pins bumped to 3.14.1 and the langgraph example lock regenerated (also
reconciles the previously missing ruff entry declared in its pyproject).

Co-authored-by: Cursor <cursoragent@cursor.com>
Revert the direct aiohttp dependency added in pyproject.toml to preserve the
original project structure (aiohttp stays optional/transitive via crewai/all
extras). Remediation is done purely by pinning aiohttp 3.14.2 in poetry.lock.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shuningc
shuningc marked this pull request as draft July 23, 2026 00:10
aiohttp 3.14 removed aiohttp.streams.AsyncStreamReaderMixin, which vcrpy 7.0.0's
aiohttp stub subclassed, breaking tests/test_openai_agents.py. vcrpy 8.3.0 drops
that mixin. This also removes the vcrpy-7-only urllib3<2 pin (urllib3 stays 2.5.0).

Co-authored-by: Cursor <cursoragent@cursor.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.

1 participant