Skip to content

chore(deps): security bumps — idna 3.15, starlette 1.1.0, torch advisory ignore#64

Merged
vr000m merged 3 commits into
mainfrom
dependabot/uv/idna-3.15
May 24, 2026
Merged

chore(deps): security bumps — idna 3.15, starlette 1.1.0, torch advisory ignore#64
vr000m merged 3 commits into
mainfrom
dependabot/uv/idna-3.15

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

What's New

Security-only dependency PR. Resolves three transitive advisories that the unfiltered pip-audit PR gate currently flags. Started as the Dependabot idna bump (#64) and was widened to clear the other two live advisories, since the gate sees the union of all advisories in the tree — none of the three could go green independently.

Security

  • idna3.15 (transitive via anyio / httpx / requests). CVE-2026-45409 / GHSA-65pc-fj4g-8rjx, Dependabot alert chore: release v0.0.9 #17: crafted inputs to idna.encode() bypass the CVE-2024-3651 mitigation, enabling quadratic-time processing. Lock-only bump.
  • starlette1.1.0 (transitive via mcp / fastapi / sse-starlette). PYSEC-2026-161 / GHSA-86qp-5c8j-p5mr: missing Host-header validation poisons request.url.path, bypassing path-based security checks. Floored via a new [tool.uv] constraint-dependencies entry (starlette>=1.0.1) because a plain re-lock regresses to the vulnerable 0.52.1 (prior fastapi 0.129.0 capped it); the constraint also lifts fastapi0.136.3.
  • torch PYSEC-2026-139 / CVE-2026-4538 — local-only pt2-loader deserialization, no upstream fix released. Ignored in the PR-gating pip-audit (ci.yml) and the audit-deps justfile recipe. The unfiltered biweekly security-audit.yml keeps tracking it so the ignore is removed when a patch lands.

No exploitable path from hub code for any of the three: the hub speaks MCP over stdio (never serves HTTP via Starlette), outbound hostnames are fixed trusted endpoints (never attacker-controlled idna.encode() input), and it never deserializes untrusted pt2 artifacts (torch is used only for local embeddings via sentence-transformers).

Verification

  • pip-audit: No known vulnerabilities found, 1 ignored (torch)
  • ruff check clean, mypy clean (82 files), pytest: 1021 passed / 3 skipped

Upgrade: uv sync --extra dev --group dev then uv run pipecat-context-hub refresh --force
Full changelog: v0.0.19...HEAD

Original Dependabot changelog (idna 3.11 → 3.15)

idna 3.14 closed CVE-2026-45409 by rejecting oversize inputs up-front (bypass of the CVE-2024-3651 mitigation); 3.15 adds an early DNS-length cap in check_label plus perf/cleanup. Compare: kjd/idna@v3.11...v3.15

Bumps [idna](https://github.com/kjd/idna) from 3.11 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.11...v3.15)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.15'
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 19, 2026
vr000m added 2 commits May 23, 2026 22:25
Mirror the urllib3 PR #62/#63 pattern — record the idna 3.15 bump
(CVE-2026-45409, GHSA-65pc-fj4g-8rjx; Dependabot alert #17) in CHANGELOG
Unreleased and the AGENTS.md security log, noting idna is purely transitive
(via anyio / httpx / requests) and no hub code path calls idna directly.
The PR-gating pip-audit runs unfiltered, so #64's idna bump alone could not
go green while two further advisories were live in the tree. Fix both here so
the security PR merges cleanly:

- starlette PYSEC-2026-161 / GHSA-86qp-5c8j-p5mr (Host-header validation bypass
  poisoning request.url.path): floor to starlette>=1.0.1 via a new
  [tool.uv] constraint-dependencies entry. A lock-only bump regresses to the
  vulnerable 0.52.1 because the prior fastapi 0.129.0 capped it; the constraint
  forces starlette 1.1.0 and lifts fastapi to 0.136.3. Reached only via
  mcp/fastapi/sse-starlette; the hub speaks MCP over stdio, never serves HTTP.
- torch PYSEC-2026-139 / CVE-2026-4538 (local-only pt2-loader deserialization,
  no upstream fix): ignore in ci.yml and the audit-deps justfile recipe.
  Reached only via sentence-transformers; the hub never loads untrusted pt2
  artifacts. The unfiltered biweekly security-audit.yml keeps tracking it.

CHANGELOG + AGENTS.md security log updated for both.
@vr000m vr000m changed the title chore(deps): bump idna from 3.11 to 3.15 chore(deps): security bumps — idna 3.15, starlette 1.1.0, torch advisory ignore May 24, 2026
@vr000m vr000m merged commit e7a91a3 into main May 24, 2026
2 checks passed
@vr000m vr000m deleted the dependabot/uv/idna-3.15 branch May 24, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant