GHSA-q76j-58cx-wp5v: Rpki validator 3 Vulnerability Vulnerability

HIGH
CWE-20
Published
Advisory Summary

GHSA-q76j-58cx-wp5v is a HIGH vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Rpki validator 3 libraries in the Maven ecosystem. The issue involves vulnerability in rpki manifest validation. Remediation is available by upgrading affected packages to version 3.2-2020.10.28.23.06.

GHSA-q76j-58cx-wp5v at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-q76j-58cx-wp5v
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Rpki validator 3
Package Ecosystem Maven
Published Date
Last Updated

How to Fix GHSA-q76j-58cx-wp5v

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

net.ripe.rpki:rpki-validator-3 fixed: 3.2-2020.10.28.23.06
<dependency>
    <groupId>net.ripe.rpki</groupId>
    <artifactId>rpki-validator-3</artifactId>
    <version>3.2-2020.10.28.23.06</version>
</dependency>
Verify Direct and Transitive Dependencies

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

mvn dependency:tree -Dincludes=net.ripe.rpki

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-q76j-58cx-wp5v, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=net.ripe.rpki

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

Note: The mvn dependency:tree -Dincludes=net.ripe.rpki command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Rpki validator 3, 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

A vulnerability in RPKI manifest validation exists when objects on the manifest are hidden, or expired objects are replayed. An attacker successfully exploiting this vulnerability could prevent new ROAs from being received or selectively hide ROAs, causing routes to become INVALID. To exploit this vulnerability, an attacker would need to perform a man in the middle attack on the TLS connection between the validator and an RRDP repository or perform a man in the middle attack against a rsync-only repository. The update addresses the vulnerability by implementing validation methods from [RFC 6486bis](https://datatracker.ietf.org/doc/draft-ietf-sidrops-6486bis/00/) and enabling strict validation by default.

GHSA-q76j-58cx-wp5v Affected Rpki validator 3 Versions

1 component(s)
Fixed Versions:
3.2-2020.10.28.23.06
Product / Package Ecosystem Affected Versions Fixed Version
net.ripe.rpki:rpki-validator-3
Maven
< 3.2-2020.10.28.23.06
3.2-2020.10.28.23.06

References

Frequently Asked Questions

What is GHSA-q76j-58cx-wp5v?
GHSA-q76j-58cx-wp5v is a security vulnerability in Rpki validator 3 involving Vulnerability in RPKI manifest validation under CWE-20: Improper Input Validation.
Which Rpki validator 3 versions are affected?
Affected versions include releases prior to 3.2-2020.10.28.23.06 across affected packages: net.ripe.rpki:rpki-validator-3.
What version fixes GHSA-q76j-58cx-wp5v?
Upgrading to 3.2-2020.10.28.23.06 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rpki-validator-3 affected?
Yes, net.ripe.rpki:rpki-validator-3 is affected in releases prior to 3.2-2020.10.28.23.06. Upgrade your dependency to 3.2-2020.10.28.23.06 or later.
What CWE is associated with GHSA-q76j-58cx-wp5v?
GHSA-q76j-58cx-wp5v is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for GHSA-q76j-58cx-wp5v?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=net.ripe.rpki'. 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-q76j-58cx-wp5v",
  "modified" : "2020-11-13T17:28:31Z",
  "published" : "2020-11-13T17:28:49Z",
  "aliases" : [ ],
  "summary" : "Vulnerability in RPKI manifest validation",
  "details" : "\nA vulnerability in RPKI manifest validation exists when objects on the manifest are hidden, or expired objects are replayed. An attacker successfully exploiting this vulnerability could prevent new ROAs from being received or selectively hide ROAs, causing routes to become INVALID.\n\nTo exploit this vulnerability, an attacker would need to perform a man in the middle attack on the TLS connection between the validator and an RRDP repository or perform a man in the middle attack against a rsync-only repository.\n\nThe update addresses the vulnerability by implementing validation methods from [RFC 6486bis](https://datatracker.ietf.org/doc/draft-ietf-sidrops-6486bis/00/) and enabling strict validation by default.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.ripe.rpki:rpki-validator-3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.2-2020.10.28.23.06"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.2-2020.10.28.22.25"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/RIPE-NCC/rpki-validator-3/security/advisories/GHSA-q76j-58cx-wp5v"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-11-13T17:28:31Z",
    "nvd_published_at" : null
  }
}