RUSTSEC-2026-0049: CRLs not considered authorative by Distribution Point due to faulty matching logic

オープン
#516 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
security

調査の方向性

The report concerns CRL distribution-point matching in rustls-webpki 0.103.9 and names no files or tests in this repository. Start by checking whether cot uses this dependency and locating its revocation-checking entry points; the issue gives no repository-specific reproduction or test target. Done would mean the faulty matching behavior is addressed and a regression test verifies subsequent distribution points are considered.

索引モデルが issue の本文から書いたものです。

説明

CRLs not considered authorative by Distribution Point due to faulty matching logic

Details
Package rustls-webpki
Version 0.103.9
Date 2026-03-20
Patched versions >=0.103.10

If a certificate had more than one distributionPoint, then only the first distributionPoint would be considered against each CRL's IssuingDistributionPoint distributionPoint, and then the certificate's subsequent distributionPoints would be ignored.

The impact was that correct provided CRLs would not be consulted to check revocation. With UnknownStatusPolicy::Deny (the default) this would lead to incorrect but safe Error::UnknownRevocationStatus. With UnknownStatusPolicy::Allow this would lead to inappropriate acceptance of revoked certificates.

This vulnerability is thought to be of limited impact. This is because both the certificate and CRL are signed -- an attacker would need to compromise a trusted issuing authority to trigger this bug. An attacker with such capabilities could likely bypass revocation checking through other more impactful means (such as publishing a valid, empty CRL.)

More likely, this bug would be latent in normal use, and an attacker could leverage faulty revocation checking to continue using a revoked credential.

This vulnerability is identified by GHSA-pwjx-qhcg-rvj4. Thank you to @1seal for the report.

See advisory page for additional details.

主要言語
Rust
スター
1.1k
フォーク
57
平均マージ
17時間 39分
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cot-rs/cot のほかの issue

cot-rs/cot の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。