CVE-2022-3616 OctoRPKI crash when maximum iterations number is reached
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cloudflare/cfrpki Go | All versions | 1.4.4 |
github.com/cloudflare/cfrpki Go | All versions | 1.4.4 |
github.com/cloudflare/cfrpki Go | All versions | 1.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.
Other vulnerabilities in Cloudflare OctoRPKI
- CVE-2021-3978 Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki
- CVE-2021-3761 OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values
- CVE-2021-3907 Arbitrary filepath traversal via URI injection
- CVE-2021-3908 Infinite certificate chain depth results in OctoRPKI running forever
- CVE-2021-3909 Infinite open connection causes OctoRPKI to hang forever
Sources
Also known as DEBIAN-CVE-2022-3616, GHSA-pmw9-567p-68pc, GO-2022-1089, UBUNTU-CVE-2022-3616.