CVE-2022-3616 OctoRPKI crash when maximum iterations number is reached

Medium 5.4 Published Updated

Attackers can cause OctoRPKI to crash by submitting long CA chains, resulting in a denial of service for RPKI validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-3616?

CVE-2022-3616 is a medium-severity denial of service vulnerability in Cloudflare OctoRPKI, published on 28 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Attackers can create long chains of CAs that would lead to OctoRPKI exceeding its max iterations parameter. In consequence it would cause the program to crash, preventing it from finishing the validation and leading to a denial of service. Credits to Donika Mirdita and Haya Shulman - Fraunhofer SIT, ATHENE, who discovered and reported this vulnerability.

Weakness: CWE-834, CWE-754

Which versions are affected by CVE-2022-3616?

3 open source packages ship an affected version, including github.com/cloudflare/cfrpki. It affects 1 product.

PackageAffectedFixed in
github.com/cloudflare/cfrpki GoAll versions1.4.4
github.com/cloudflare/cfrpki GoAll versions1.4.4
github.com/cloudflare/cfrpki GoAll versions1.4.4

Products include Cloudflare Octorpki.

How do I fix CVE-2022-3616?

Upgrade github.com/cloudflare/cfrpki to 1.4.4 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-3616 being exploited?

There is no known exploitation of CVE-2022-3616 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-3616, GHSA-pmw9-567p-68pc, GO-2022-1089, UBUNTU-CVE-2022-3616.

Is CVE-2022-3616 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free