← back
CVE-2021-43174

gzip transfer encoding caused out-of-memory crash

EPSS 1.2%CWE-1325
In short

Routinator versions 0.9.0 to 0.10.1 crash when processing gzip-compressed RRDP data because the decompressed files can become extremely large, exhausting available memory. An attacker controlling an RRDP repository can exploit this to deny service.

Technical detail

CWE-1325 vulnerability in Routinator's RRDP client: malicious RRDP repositories can craft gzip-compressed XML with excessive whitespace that decompresses to enormous sizes, causing out-of-memory crashes during XML parsing. Attack vector is remote via compromised or malicious RRDP repositories; pre-condition is that Routinator must query the affected repository.

Summary generated and translated by AI from the official description.
NLnet Labs Routinator versions 0.9.0 up to and including 0.10.1, support the gzip transfer encoding when querying RRDP repositories. This encoding can be used by an RRDP repository to cause an out-of-memory crash in these versions of Routinator. RRDP uses XML which allows arbitrary amounts of white space in the encoded data. The gzip scheme compresses such white space extremely well, leading to very small compressed files that become huge when being decompressed for further processing, big enough that Routinator runs out of memory when parsing input data waiting for the next XML element.
Affected products
NLnet Labs · Routinator

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →