---
id: CVE-2021-3911
aliases:
  - GHSA-w6ww-fmfx-2x22
  - GO-2022-0252
title: Misconfigured IP address field in ROA leads to OctoRPKI crash
summary: Misconfigured IP address field in ROA leads to OctoRPKI crash
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H'
vendor: cloudflare
product: github.com/cloudflare/cfrpki
ecosystem: go
affected:
  - github.com/cloudflare/cfrpki < 1.4.0
patched:
  - github.com/cloudflare/cfrpki 1.4.0
published: '2021-11-10'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-w6ww-fmfx-2x22'
references:
  - url: >-
      https://github.com/cloudflare/cfrpki/security/advisories/GHSA-w6ww-fmfx-2x22
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-3911'
  - url: >-
      https://github.com/cloudflare/cfrpki/commit/2882307febd66801de97b2a2ce4d93fe58132005
  - url: 'https://github.com/cloudflare/cfrpki'
  - url: 'https://pkg.go.dev/vuln/GO-2022-0252'
  - url: 'https://www.debian.org/security/2022/dsa-5041'
tags:
  - osv
  - go
epss: 0.00907
epssPercentile: 0.58148
ingestedAt: '2026-07-09T18:56:36.954Z'
---

## Overview

If the ROA that a repository returns contains too many bits for the IP address then OctoRPKI will crash.

## Patches

## For more information
If you have any questions or comments about this advisory email us at security@cloudflare.com


## Affected packages

- `github.com/cloudflare/cfrpki < 1.4.0`

## Remediation

Upgrade to a patched release:

- `github.com/cloudflare/cfrpki 1.4.0`
