Descrizione
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.
Tipo di vulnerabilità
CWE-405
Asymmetric Resource Consumption (Amplification)
The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is asymmetric.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: amplificazione, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione
An application must make resources available to a client commensurate with the client's access level.
Architettura e progettazione
An application must, at all times, keep track of allocated resources and meter their usage appropriately.
Configurazione del sistema
Consider disabling resource-intensive algorithms on the server side, such as Diffie-Hellman key exchange.
Tutte le 74 CVE di tipo CWE-405, con andamento e prevenzione