PT-2021-23757 · Nlnet+1 · Nlnet Labs Routinator+1

Published

2021-11-09

·

Updated

2022-05-24

·

CVE-2021-43172

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions NLnet Labs Routinator versions prior to 0.10.2
Description The issue concerns NLnet Labs Routinator, where a malicious CA can create a chain of CAs of de-facto infinite length by continuously generating a new child CA that only consists of another CA using a different RRDP repository. This causes Routinator to never finish a validation run, leading to it continuing to serve the old data set or never serve any data at all. Additionally, the gzip transfer encoding can be used by an RRDP repository to cause an out-of-memory crash in affected versions of Routinator. Furthermore, an RRDP repository can delay a validation run significantly by not answering but slowly drip-feeding bytes to keep the connection alive, effectively stalling validation.
Recommendations For NLnet Labs Routinator versions prior to 0.10.2, update to version 0.10.2 or later to resolve the issue. As a temporary workaround, consider restricting the length of RRDP repository chains and implementing measures to prevent out-of-memory crashes due to gzip transfer encoding. Additionally, configure the time-out value for RRDP connections to apply to the complete request, rather than individual read or write operations, to prevent validation stalling.

Fix

Uncontrolled Recursion

Memory Corruption

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-43172
GHSA-6MV9-QCX2-3HH3
GHSA-M3X9-623G-35C4

Affected Products

Debian
Nlnet Labs Routinator