Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. routinator
  4. ›
  5. CVE-2021-43172

CVE-2021-43172: Routinator infinite loop vulnerability

May 24, 2022 (updated July 13, 2023)

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.

References

  • github.com/NLnetLabs/routinator/pull/665/commits/2f1c47378e3439cb89e084cdad6b759bbc8a72b8
  • github.com/advisories/GHSA-m3x9-623g-35c4
  • nvd.nist.gov/vuln/detail/CVE-2021-43172
  • www.nlnetlabs.nl/downloads/routinator/CVE-2021-43172_CVE-2021-43173_CVE-2021-43174.txt

Code Behaviors & Features

Detect and mitigate CVE-2021-43172 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.10.2

Fixed versions

  • 0.10.2

Solution

Upgrade to version 0.10.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

cargo/routinator/CVE-2021-43172.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.