Descrizione
rustls-webpki versions before 0.103.10 and 0.104.0-alpha.5 contain faulty CRL authority-matching logic that compares only the first distributionPoint against each CRL's IssuingDistributionPoint, ignoring additional distributionPoints. Attackers with a compromised trusted issuing authority can present revoked certificates that pass revocation checks under UnknownStatusPolicy::Allow, or cause incorrect errors under the default deny policy.
Tipo di vulnerabilità
CWE-299
Improper Check for Certificate Revocation
The product does not check or incorrectly checks the revocation status of a certificate.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
| Integrità, Altro |
Altro |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Ensure that certificates are checked for revoked status.
Sviluppo
If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the revoked status.
Tutte le 22 CVE di tipo CWE-299, con andamento e prevenzione