GitHub Advisoryadvisory · crates.io

GHSA-m3x9-623g-35c4 Routinator infinite loop vulnerability

HIGH Published 2022-05-24 Modified 2023-07-13 Official page ↗
Aliases
CVE-2021-43172
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-674, CWE-835
Reviewed
2023-07-13

Affected packages

• crates.io routinator: < 0.10.2 → fixed in 0.10.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-43172 NLnet Labs Routinator prior to 0.10.2 happily processes a chain of RRDP repositories of infinite length causing it to never finish a… vulnerability

Weakness · CWE (2)

  • CWE-674 Uncontrolled Recursion weakness
  • CWE-835 Loop with Unreachable Exit Condition weakness

References