NLnet Labs’ bcder library up to and including version 0.7.2 panics while decoding certain invalid input data rather than rejecting the data with an error. This can affect both the actual decoding stage as well as accessing content of types that utilized delayed decoding.
References:GSA_kwCzR0hTQS02am13LTZteHctdzRqY84AA12e
BER/CER/DER decoder panics on invalid input
Affected Packages | Affected Versions | Fixed Versions | |
---|---|---|---|
cargo:bcder | < 0.7.3 | 0.7.3 | |
Affected Version RangesAll affected versions0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2 All unaffected versions0.7.3, 0.7.4, 0.7.5 |