Upgrade certifi to >= 2026.10.19 in uv.lock to mitigate eMudhra intermediate CA compromise
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
まず uv.lock 内の certifi の固定バージョンと、issue で提案されているアップグレードコマンドを確認します。ロックファイルを certifi >= 2026.10.19 に更新し、指定されたテスト URL に対して提供された Python の検証スニペットを実行します。接続が SSL 検証エラーで失敗すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
A major security incident (emudhra.we-have-a-problem.com) has compromised eight intermediate Certificate Authorities (CAs) operated by eMudhra (cross-signed by Sectigo / AAA Certificate Services). Due to a key generation flaw with virtually zero entropy, the private keys for these intermediate CAs can be computed directly from public certificates.
Anyone with these private keys can forge valid TLS/SSL certificates for any domain on the internet. While desktop web browsers have already pushed emergency revocation blocks (OneCRL, CRLSets, Apple CTL), non-browser clients—such as Python HTTP libraries (requests, httpx, certifi), curl, and uv—do not check revocation lists by default and will trust forged certificates until their CA bundles are patched.
Affected Areas in policyengine-us
uv.lockcurrently pinscertifi == 2026.1.4.certifi < 2026.10.19accepts the compromised eMudhra intermediate certificates.- Outbound HTTPS requests made through Python using
certifiare vulnerable to MitM attacks on untrusted networks. - Developer and CI packaging tools:
uvprior to0.13.4andpipprior to26.2.2are susceptible to intercepted package downloads if not updated.
(Note: Other PolicyEngine repos like policyengine-household-api and policyengine-core should also update their lockfiles and Docker base images/ca-certificates.)
Verification / Steps to Reproduce
Run the following script using the current virtual environment (certifi 2026.1.4):
import certifi, ssl, urllib.request
ctx = ssl.create_default_context(cafile=certifi.where())
try:
urllib.request.urlopen("https://dv-g3b-emudhra.we-have-a-problem.com/", context=ctx)
print("❌ VULNERABLE: Connected using compromised eMudhra intermediate CA")
except Exception as e:
print("✅ SECURE: Connection rejected:", e)
Observed behavior (certifi 2026.1.4):
❌ VULNERABLE: Connected using compromised eMudhra intermediate CA
Expected behavior (certifi >= 2026.10.19):
✅ SECURE: Connection rejected: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate>
Proposed Remediation
- Upgrade
certifito>= 2026.10.19inuv.lock:uv lock --upgrade-package certifi uv sync - Verify that running the test snippet above against
https://dv-g3b-emudhra.we-have-a-problem.com/fails with an SSL verification error.
References
- Advisory & Technical Summary: https://emudhra.we-have-a-problem.com/
- Mozilla Bugzilla Incident: https://bugzilla.mozilla.org/show_bug.cgi?id=2083449
- Certifi Release
2026.10.19: https://github.com/certifi/python-certifi/releases/tag/2026.10.19
- 主要言語
- Python
- スター
- 170
- フォーク
- 216
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 363
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-us のほかの issue
-
Illinois HBWD premium bands charge the next band's premium at each band edge対応中かも @hua7450 が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
PolicyEngine/policyengine-us#10369 ·
メンテナーはふだん 2 日以内に返信
-
Florida School Readiness counts tips twice (employment_income already includes tip_income)対応中かも @hermes-agent-909 が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine-us#10262 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PolicyEngine/policyengine-us#10179 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
PolicyEngine/policyengine-us#10073 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PolicyEngine/policyengine-us#10072 ·
メンテナーはふだん 2 日以内に返信
PolicyEngine/policyengine-us の issue をすべて見る
似ている issue
-
push_gh-pages fails on master branch on forks対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンgood first issue infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
a-lex-s/mealie-telegram-bot#54 ·
メンテナーはふだん 1 日以内に返信
-
type/test
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SaltedTan/virgil-language-server#218 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
btclib-org/btclib-wallet#541 ·
メンテナーはふだん 1 日以内に返信