VDB
Sign up
HIGH7.5

GHSA-6jmw-6mxw-w4jc

BER/CER/DER decoder panics on invalid input

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/bcder
Introduced in: 0Fixed in: 0.7.3

Upgrade bcder to 0.7.3 or newer (ecosystem crates.io).

References