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

未关闭
#516 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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 分钟
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cot-rs/cot 的其他 Issue

查看 cot-rs/cot 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。