GitHub Advisoryadvisory · crates.io

GHSA-6mv9-qcx2-3hh3 Memory exhaustion in routinator

HIGH Published 2021-11-11 Modified 2021-11-15 Official page ↗
Aliases
CVE-2021-43174
Ecosystem
crates.io
Packages
routinator
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-787
Reviewed
2021-11-10

Affected packages

• crates.io routinator: >= 0.9.0, < 0.10.2 → fixed in 0.10.2

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.

Related

Alias · CVE (1)

  • CVE-2021-43174 NLnet Labs Routinator versions 0.9.0 up to and including 0.10.1, support the gzip transfer encoding when querying RRDP repositories. vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References