Potentially anomalous path-building results
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- cryptography, security
Research direction
Start by reproducing the linked x509-limbo cases against certvalidator, especially critical AKI, pathological name-constraint, wildcard SAN, and CVE-2024-0567 results. The issue names no files or tests, so first determine which behaviors are intended, trace each discrepancy to the relevant certificate-path validation code, and document or test the agreed fixes.
Written by the indexing model from the issue text.
Description
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 🙂
- Dominant language
- Python
- Stars
- 117
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wbond/certvalidator
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
wbond/certvalidator#46 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
wbond/certvalidator#44 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
wbond/certvalidator#22 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
wbond/certvalidator#11 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
wbond/certvalidator#56 · 1 comment ·
All issues in wbond/certvalidator
Similar issues
-
bug: conversation context selects the oldest thread messages instead of recent repliesPossibly taken @BLVCK-MAMBA-6 claimed this today. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/SkillBot#74 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
bad-antics/lateralus-lang#1438 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
area: control app
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
glossyio/traffic-monitor#415 ·
Maintainers usually reply within 1 day
-
apply_matrix_rect takes 6-9% of extract_text timePossibly taken @g4lb claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
pdfminer/pdfminer.six#1333 ·
Maintainers usually reply within 1 day