Out-of-bounds Write Affecting cfrpki package, versions <1.3.0-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-CFRPKI-1585637
  • published16 Sept 2021
  • disclosed9 Sept 2021

Introduced: 9 Sep 2021

CVE-2021-3761  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:12 cfrpki to version 1.3.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cfrpki package and not the cfrpki package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

Any CA issuer in the RPKI can trick OctoRPKI prior to 1.3.0 into emitting an invalid VRP "MaxLength" value, causing RTR sessions to terminate. An attacker can use this to disable RPKI Origin Validation in a victim network (for example AS 13335 - Cloudflare) prior to launching a BGP hijack which during normal operations would be rejected as "RPKI invalid". Additionally, in certain deployments RTR session flapping in and of itself also could cause BGP routing churn, causing availability issues.

CVSS Scores

version 3.1