Security mailing lists by PureSourceCode

CVE-2021-3761

HIGH 7.5CVSS 3.1

OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values

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.

Published
9 Sep 2021
Last modified
8 Jul 2026
Assigned by
cna@cloudflare.com
NVD status
Modified
Weakness
CWE-295CWE-787
Also known as
GHSA-c8xp-8mf3-62h9GO-2022-0246
Sources
NVDJSONOSV GHSA-c8xp-8mf3-62h9JSONOSV GO-2022-0246JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@cloudflare.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cloudflare octorpki
cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*
< 1.3.0 1.3.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
OSV Go github.com/cloudflare/cfrpki < 1.3.0 1.3.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Sep 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.