Potentially anomalous path-building results
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- cryptography, security
調査の方向性
まず、リンクされている x509-limbo のケースを certvalidator に対して再現します。特に、critical AKI、pathological name-constraint、wildcard SAN、CVE-2024-0567 の結果を対象にします。Issue ではファイルやテストが指定されていないため、最初にどの挙動が意図されたものかを判断し、各不一致を証明書パス検証に関係するコードまで追跡して、合意した修正を文書化するかテストしてください。
索引モデルが issue の本文から書いたものです。
説明
Hi there! I'm opening this to help root-cause a handful of anomalous path-building results observed with certvalidator, which we found with x509-limbo.
As a disclaimer: many of these are likely to be non-issues from certvalidator's perspective, so please don't interpret this issue as a demand or expectation for everything on the linked results page to be fixed. X.509 validators have a huge range of behaviors in practice and many of the failures are either due to "pedantic" readings of RFC 5280 or explicitly unsupported features (e.g. Name Constraints, in certvalidator's case).
There are, however, some results for which certvalidator is an outlier or otherwise should probably consider some changes. A non-exhaustive sampling:
- rfc5280::aki::critical-aki: all other implementations (except Go, which is fixing their behavior) under test reject critical AKIs;
certvalidatoraccepts it; pathological::nc-dos-1andpathological::nc-dos-3: implementations typically establish a NC comparison budget to prevent quadratic blowup, butcertvalidatorappears to churn through them instead (taking over 30 seconds on my machine). I haven't fully root-caused this one, but was surprised sincecertvalidatorotherwise appears to reject any critical NC extensions);webpki::san::wildcard-embedded-leftmost-san: implementations should reject SAN patterns with non-leftmost wildcards (e.g.ba*.example.com), per both RFC 6125 and CABF;cve::cve-2024-0567: this is a test for a chain-building failure in an older version of GnuTLS, whichcertvalidatoralso fails to construct a chain for here. The error here is pretty strange, sincecertvalidatorappears to handle SANs in other contexts.
There are others as well, but these ones stood out as initial candidates for fixes.
Please let me know if there's any other information I can provide, or if I can help in any way! I'm not super familiar with certvalidator's internals, but I may be able to help resolve some of these with some guidance on the codebase 🙂
- 主要言語
- Python
- スター
- 117
- フォーク
- 37
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wbond/certvalidator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wbond/certvalidator#46 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
wbond/certvalidator#44 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
wbond/certvalidator#22 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
wbond/certvalidator#11 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
wbond/certvalidator#56 · コメント 1 件 ·
wbond/certvalidator の issue をすべて見る
似ている issue
-
bug: conversation context selects the oldest thread messages instead of recent replies対応中かも @BLVCK-MAMBA-6 が今日担当しました。 オープンbug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AOSSIE-Org/SkillBot#74 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bad-antics/lateralus-lang#1438 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
area: control app
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
glossyio/traffic-monitor#415 ·
メンテナーはふだん 1 日以内に返信
-
apply_matrix_rect takes 6-9% of extract_text time対応中かも @g4lb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pdfminer/pdfminer.six#1333 ·
メンテナーはふだん 1 日以内に返信