Descrizione
CoreDNS is a DNS server that chains plugins. Prior to version 1.14.2, a denial of service vulnerability exists in CoreDNS's loop detection plugin that allows an attacker to crash the DNS server by sending specially crafted DNS queries. The vulnerability stems from the use of a predictable pseudo-random number generator (PRNG) for generating a secret query name, combined with a fatal error handler that terminates the entire process. This issue has been patched in version 1.14.2.
Tipo di vulnerabilità
CWE-337
Predictable Seed in Pseudo-Random Number Generator (PRNG)
A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Aggirare i meccanismi di protezione, Dipende dal contesto |
Come si previene
Use non-predictable inputs for seed generation.
Architettura e progettazione · Requisiti · Librerie o framework
Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems, or use the more recent FIPS 140-3 if possible.
Sviluppo
Use a PRNG that periodically re-seeds itself using input from high-quality sources, such as hardware devices with high entropy. However, do not re-seed too frequently, or else the entropy source might block.
Tutte le 13 CVE di tipo CWE-337, con andamento e prevenzione