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

Abierto
#516 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
rust
Área
security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
1.1k
Forks
57
Merge medio
17 h 39 min
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cot-rs/cot

Todos los issues de cot-rs/cot

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.