VDB
Sign up
HIGH7.5

GHSA-5mxh-2qfv-4g7j

NUL character in ROA causes OctoRPKI to crash

Quick fix

GHSA-5mxh-2qfv-4g7j — github.com/cloudflare/cfrpki: upgrade to the fixed version with the command below.

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

Details

OctoRPKI crashes when encountering a repository that returns an invalid ROA (just an encoded `NUL` (`\0`) character).

## 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"]}'