Skip to content

Fix vulnerable dependency pins#20

Closed
zw5 wants to merge 1 commit intoQuantGeekDev:mainfrom
zw5:zw5/fix-vulnerable-dependencies
Closed

Fix vulnerable dependency pins#20
zw5 wants to merge 1 commit intoQuantGeekDev:mainfrom
zw5:zw5/fix-vulnerable-dependencies

Conversation

@zw5
Copy link
Copy Markdown

@zw5 zw5 commented May 2, 2026

Updates dependency constraints and the uv lockfile to avoid known vulnerable releases selected by the existing lockfile.

Summary:

  • Require mcp>=1.23.0, resolving the published MCP SDK advisories reported against mcp==1.0.0.
  • Require python-dotenv>=1.2.2, resolving the published symlink rewrite advisory reported against python-dotenv==1.0.1.
  • Add h11>=0.16.0, which also refreshes httpcore, resolving the published h11 request-smuggling advisory reported against h11==0.14.0.
  • Refresh transitive Starlette through the newer MCP SDK so the lockfile no longer selects vulnerable Starlette releases.

Verification:

  • Before: uv run --with pip-audit pip-audit --format json reported 7 known vulnerabilities in 4 packages.
  • After: uv run --with pip-audit pip-audit --format json reports No known vulnerabilities found.
  • uv run python -m compileall src passes.
  • uv run python -c "import docker_mcp.server; import docker_mcp.handlers" passes.

The lockfile selected vulnerable releases of mcp, python-dotenv, starlette, and h11 reported by pip-audit. Raise the direct minimum versions and refresh uv.lock so the resolved environment has no known vulnerabilities.
@zw5 zw5 closed this May 6, 2026
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