bcder is vulnerable to Improper Input Validation
41
CVE Score
Medium
Improper Input Validation
The bcder crate decodes BER, CER, and DER ASN.1 data from untrusted inputs such as certificates and RPKI objects. Before 0.7.7, malformed UTF-8 in Utf8String parsing could construct invalid Rust characters via unsafe decoding, and gaps in BitString, Unsigned, and restricted-string handling allowed incorrect bit reads, charset bypass, panic on valid zero integers, and acceptance of non-conformant DER/CER bit strings. An attacker supplying crafted ASN.1 could trigger undefined behavior, integrity errors, or denial of service. Version 0.7.7 adds strict UTF-8 and charset validation, corrects BitString bounds and unused-bit checks, and returns canonical zero encodings without panicking.
Upgrade the bcder library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.1.0 - 0.7.6
Fixed in 0.7.7bcder is vulnerable to Improper Input Validation in versions 0.1.0 - 0.7.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.