Skip to content
OpenAdvisories
High · 7.5 CVE-2023-39914 EUVD-2023-2446GHSA-6jmw-6mxw-w4jcRUSTSEC-2023-0062

BER/CER/DER decoder panics on invalid input

Published Sep 13, 2023 · Updated Sep 12, 2024 · Assigned by NLnet Labs

Description

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.

Affected products

VendorProductAffectedFixed
NLnet Labs bcder < 0.7.3 0.7.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 rust-bcder 0.7.3-1 —
Debian 12 rust-bcder No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io bcder < 0.7.3 0.7.3 GHSA-6jmw-6mxw-w4jc
crates.io bcder >= 0.0.0-0, < 0.7.3 0.7.3 RUSTSEC-2023-0062

References