CVE-2022-3029: Routinator NLnet Labs Routinator Has Reachable Vulnerability

HIGH
Advisory Identifier: GHSA-m4vx-ccrf-w399
CVSS 7.5
CWE-617
Published
Advisory Summary

CVE-2022-3029 is a HIGH (CVSS 7.5) nlnet labs routinator has reachable vulnerability (CWE-617: Reachable Assertion) affecting Routinator libraries in the crates.io ecosystem. The issue involves nlnet labs routinator has reachable assertion vulnerability. Remediation is available by upgrading affected packages to version 0.11.3.

CVE-2022-3029 at a Glance

CVE Identifier CVE-2022-3029
GHSA Identifier GHSA-m4vx-ccrf-w399
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-617: Reachable Assertion
Affected Product Routinator
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2022-3029

To remediate this vulnerability, upgrade all affected Routinator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

routinator fixed: 0.11.3
Upgrade routinator to 0.11.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for routinator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-3029, inspect your project dependencies for Routinator:

inspect dependencies for routinator

Analyze the terminal output to locate any version of Routinator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-617: Reachable Assertion, where the product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. In Routinator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In NLnet Labs Routinator 0.9.0 up to and including 0.11.2, due to a mistake in error handling, data in RRDP snapshot and delta files which are not correctly base 64 encoded are treated as a fatal error and causes Routinator to exit. Worst case impact of this vulnerability is denial of service for the RPKI data that Routinator provides to routers. This may stop your network from validating route origins based on RPKI data. This vulnerability does not allow an attacker to manipulate RPKI data.

CVE-2022-3029 Affected Routinator Versions

1 component(s)
Fixed Versions:
0.11.3
Product / Package Ecosystem Affected Versions Fixed Version
routinator
crates.io
≥ 0.9.0
< 0.11.3
0.11.3

References

Frequently Asked Questions

What is CVE-2022-3029?
CVE-2022-3029 is a security vulnerability in Routinator involving NLnet Labs Routinator has Reachable Assertion vulnerability under CWE-617: Reachable Assertion.
Which Routinator versions are affected?
Affected versions include releases prior to 0.11.3 across affected packages: routinator.
What version fixes CVE-2022-3029?
Upgrading to 0.11.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is routinator affected?
Yes, routinator is affected in releases prior to 0.11.3. Upgrade your dependency to 0.11.3 or later.
What is the CVSS score of CVE-2022-3029?
CVE-2022-3029 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2022-3029?
CVE-2022-3029 is classified under CWE-617: Reachable Assertion (The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.).
How can I check crates.io dependencies for CVE-2022-3029?
Run the dependency tree command: 'inspect dependencies for routinator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m4vx-ccrf-w399",
  "modified" : "2022-09-20T18:15:00Z",
  "published" : "2022-09-14T00:00:43Z",
  "aliases" : [ "CVE-2022-3029" ],
  "summary" : "NLnet Labs Routinator has Reachable Assertion vulnerability",
  "details" : "In NLnet Labs Routinator 0.9.0 up to and including 0.11.2, due to a mistake in error handling, data in RRDP snapshot and delta files which are not correctly base 64 encoded are treated as a fatal error and causes Routinator to exit. Worst case impact of this vulnerability is denial of service for the RPKI data that Routinator provides to routers. This may stop your network from validating route origins based on RPKI data. This vulnerability does not allow an attacker to manipulate RPKI data.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "routinator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.9.0"
      }, {
        "fixed" : "0.11.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3029"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NLnetLabs/routinator/pull/781/commits/c2e2476f28f09ea5ffb22d172d84fb4f8384d496"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/NLnetLabs/routinator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NLnetLabs/routinator/releases/tag/v0.11.3"
  }, {
    "type" : "WEB",
    "url" : "https://www.nlnetlabs.nl/downloads/routinator/CVE-2022-3029.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-617" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-20T18:15:00Z",
    "nvd_published_at" : "2022-09-13T16:15:00Z"
  }
}