Skip to content

fix(deps): bump certifi, packaging and virtualenv to resolve Dependabot CVEs - #128

Merged
HC-ONLINE merged 1 commit into
mainfrom
fix/dependabot-security-alerts
Oct 22, 2026
Merged

HC-ONLINE merged 1 commit into
mainfrom
fix/dependabot-security-alerts

Conversation

@HC-ONLINE

@HC-ONLINE HC-ONLINE commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Resolves the 7 open Dependabot alerts on this repository.

Package From -> To Severity Alerts
certifi 2026.7.22 -> 2026.10.19 critical GHSA-6q48-6c7w-9gw2
virtualenv 21.14.2 -> 21.14.13 3 high, 3 moderate CVE-2026-113716/21/22/24/25/26
packaging 24.0 -> 26.3 (enabler) —

Root cause

virtualenv>=21.14.6 requires packaging>=26.3, but pyproject.toml pinned packaging==24.0. Without this bump, uv's resolver could not lift virtualenv past 21.14.5, leaving 6 alerts open.

The project only uses packaging.version.Version and InvalidVersion (core/analyzers/cve/models.py), an API that has been stable across 24 -> 26.

Applicability

  • certifi: runtime transitive dependency of httpx/httpcore — it is the CA bundle HTTPClient uses to validate TLS on every scan. Real MITM risk.
  • virtualenv: not a product dependency. It comes in only via pre-commit (the dev extra); it is not installed by uv sync, uv sync --extra api, nor when publishing the package. It is updated anyway because the bump is lockfile-only, risk-free, and clears the alerts table.

Changes

  • pyproject.toml: packaging==24.0 -> packaging==26.3
  • uv.lock: certifi, virtualenv and packaging (plus python-discovery 1.6.0 -> 1.6.4, a virtualenv transitive)

Validation

  • uv sync --extra api --extra dev resolves without conflicts
  • uv run ruff check . — all checks pass
  • uv run pytest -m "not slow and not network" — 2025 passed, 3 failed
  • The 3 failures are pre-existing: they reproduce identically on main (httpx.ConnectError: Blocked non-loopback connection to 93.184.216.34 in test_api_auth.py::TestGenerateKey and test_api_config.py::TestOpenAPIDiscovery, blocked by the network fixture)

Notes

  • No dependabot.yml is configured: GitHub's weekly defaults are in use. A config limiting updates to security-only can be added if desired.

…ot CVEs

Resolves 7 open Dependabot security alerts:

- certifi 2026.7.22 -> 2026.10.19 (GHSA-6q48-6c7w-9gw2, critical: compromised emSign intermediate CA keys; runtime transitive dep of httpx/httpcore)
- virtualenv 21.14.2 -> 21.14.13 (CVE-2026-113716/21/22/24/25/26, activate script/launcher injection and symlink flaws; dev-only transitive dep of pre-commit)
- packaging 24.0 -> 26.3 (required by virtualenv >= 21.14.6; project only uses the stable Version/InvalidVersion API)

Validated with ruff check and the unit/integration suite (2025 passed; 3 pre-existing network-fixture failures also fail on main).
@HC-ONLINE
HC-ONLINE merged commit c29b611 into main Oct 22, 2026
8 checks passed
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