VDB
Sign up
MEDIUM4.2

GHSA-w6ww-fmfx-2x22

Misconfigured IP address field in ROA leads to OctoRPKI crash

Quick fix

GHSA-w6ww-fmfx-2x22 — github.com/cloudflare/cfrpki: upgrade to the fixed version with the command below.

go get github.com/cloudflare/cfrpki@v1.4.0

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/cloudflare/cfrpki
Introduced in: 0Fixed in: 1.4.0
Fixgo get github.com/cloudflare/cfrpki@v1.4.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/cloudflare/cfrpki"]}'