CVE-2022-3616: OctoRPKI crashes when max iterations is reached in github.com/cloudflare/cfrpki
Summary
CVE-2022-3616: OctoRPKI crashes when max iterations is reached in github.com/cloudflare/cfrpki. Affects github.com/cloudflare/cfrpki versions < 1.4.4. Fixed in 1.4.4. How to fix ↓
Also tracked for
- cfrpki · Debian:11
The same CVE-2022-3616 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is github.com/cloudflare/cfrpki, which is written in Go. It is a library that provides functionality for managing and validating RPKI (Resource Public Key Infrastructure) data. RPKI is used to secure the Internet's routing infrastructure by digitally signing IP address allocations. The cfrpki package allows users to interact with RPKI data, including fetching, validating, and publishing certificates and other objects. However, a vulnerability has been discovered in the package that can cause it to crash when the maximum number of iterations is reached.
Vulnerability Detail
The vulnerability in github.com/cloudflare/cfrpki occurs when the package reaches the maximum number of iterations. This can happen during the validation process of RPKI data. When this limit is reached, the package crashes, leading to a denial of service (DoS) condition. The impact of this vulnerability is that an attacker could potentially disrupt the RPKI validation process, causing a loss of trust in the routing infrastructure. It is important to note that this vulnerability only affects versions 0.0.0 to 1.4.3 of the package, with the fix available in version 1.4.4.
How To Fix
Latest published version: v1.5.10 as of 23 Oct 2026
go get github.com/cloudflare/cfrpki@v1.5.10
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.4.4
This is the first release that contains the fix.
go get github.com/cloudflare/cfrpki@v1.4.4
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. Users are advised to update to the fixed version of the package as soon as possible.
Conclusion
The vulnerability in github.com/cloudflare/cfrpki can cause a denial of service (DoS) condition by crashing the package when the maximum number of iterations is reached. To mitigate this issue, users should update to version 1.4.4 or later. No known workarounds are available.
See every vulnerability recorded for github.com/cloudflare/cfrpki →
FAQ
github.com/cloudflare/cfrpki is a Go library for managing and validating RPKI data, which is used to secure the Internet's routing infrastructure.
The vulnerability can cause a denial of service (DoS) condition by crashing the package when the maximum number of iterations is reached. This can disrupt the RPKI validation process and lead to a loss of trust in the routing infrastructure.
Versions 0.0.0 to 1.4.3 of github.com/cloudflare/cfrpki are affected by this vulnerability.
To fix this vulnerability, update to version 1.4.4 or later of github.com/cloudflare/cfrpki.
There is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/cloudflare/cfrpki.