VYPR
Medium severity4.4NVD Advisory· Published Nov 11, 2021· Updated Apr 15, 2026

CVE-2021-3910

CVE-2021-3910

Description

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

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/cloudflare/cfrpkiGo
< 1.4.01.4.0

Affected products

2

Patches

2
76f0f7a98da0

VULN-8284: Prevent oob read on BER data containing NUL contents

https://github.com/cloudflare/cfrpkiDavid HaynesOct 20, 2021via ghsa
1 file changed · +4 0
  • validator/lib/ber.go+4 0 modified
    @@ -162,6 +162,10 @@ func readObject(ber []byte, offset int) (asn1Object, int, error) {
     	*/
     	// read length
     	var length int
    +	// GHSA-5mxh-2qfv-4g7j: Prevent a BER w/ NUL contents from being processed
    +	if len(ber) <= offset {
    +		return nil, 0, errors.New("ber2der: invalid BER tag length")
    +	}
     	l := ber[offset]
     	offset++
     	indefinite := false
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.