CVE Vulnerabilities

CVE-2021-43172

Uncontrolled Recursion

Published: Nov 09, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW

NLnet Labs Routinator prior to 0.10.2 happily processes a chain of RRDP repositories of infinite length causing it to never finish a validation run. In RPKI, a CA can choose the RRDP repository it wishes to publish its data in. By continuously generating a new child CA that only consists of another CA using a different RRDP repository, a malicious CA can create a chain of CAs of de-facto infinite length. Routinator prior to version 0.10.2 did not contain a limit on the length of such a chain and will therefore continue to process this chain forever. As a result, the validation run will never finish, leading to Routinator continuing to serve the old data set or, if in the initial validation run directly after starting, never serve any data at all.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Routinator Nlnetlabs * 0.10.2 (excluding)
Cfrpki Ubuntu impish *
Cfrpki Ubuntu kinetic *
Cfrpki Ubuntu lunar *
Cfrpki Ubuntu mantic *
Cfrpki Ubuntu trusty *
Cfrpki Ubuntu xenial *
Fort-validator Ubuntu impish *
Fort-validator Ubuntu kinetic *
Fort-validator Ubuntu lunar *
Fort-validator Ubuntu mantic *
Fort-validator Ubuntu trusty *
Fort-validator Ubuntu xenial *
Rpki-client Ubuntu impish *
Rpki-client Ubuntu trusty *
Rpki-client Ubuntu upstream *
Rpki-client Ubuntu xenial *

Potential Mitigations

References