Skip to content

fix: Require patched certifi for GHSA-6q48-6c7w-9gw2 - #115

Merged
robcaulk merged 1 commit into
mainfrom
em/certifi-ghsa-6q48
Oct 23, 2026
Merged

robcaulk merged 1 commit into
mainfrom
em/certifi-ghsa-6q48

Conversation

@emmy-devop

Copy link
Copy Markdown
Collaborator

Requested by @wagner

🔴 Review tier: HIGH — human review required

  • Release: merging to main triggers the SDK version/release automation; humans own approval and the PyPI release.

What / why

  • Add the explicit runtime dependency certifi>=2026.10.19 so SDK customer installations cannot resolve an affected certificate bundle.
  • Run uv lock --upgrade-package certifi: certifi changes from 2025.4.26 to 2026.10.19. All other locked package records are unchanged; unrelated resolver metadata churn was removed.
  • Addresses critical advisory GHSA-6q48-6c7w-9gw2, concerning trust in a root CA whose eMudhra intermediate keys were compromised.

How tested

  • uv sync --locked passed.
  • uv run --locked coverage run -m pytest --junitxml=report.xml: 132 passed; 91% coverage.
  • uv run --locked ruff check asknews_sdk: passed.
  • uv build --wheel: passed; inspected wheel metadata to verify Requires-Dist: certifi>=2026.10.19.
  • Compared parsed lockfiles: no other package records changed.
  • git diff --check: passed.

Risk / rollback

Updates the TLS CA trust bundle as required by the advisory; endpoints relying on removed trust may stop validating. No workflow changes, version bumps, or feature docs. Human review/merge and PyPI release ownership remain required; no merge, tag, or publish performed. Reverting would restore the vulnerable minimum and should not be done without an alternative mitigation.

@robcaulk
robcaulk merged commit 3b8e49b into main Oct 23, 2026
10 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.

2 participants