Advisory

GHSA-6mv9-qcx2-3hh3

Also known as: CVE-2021-43174

Summary

Memory exhaustion in routinator

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-11 00:55 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

routinator

crates.io · All systems

Affected

  • introduced 0.9.0, fixed 0.10.2 (semver)

Fixed versions

0.10.2

Fix

  • Fixed version 0.10.2
    cargo update -p routinator --precise 0.10.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences