Advisory

GHSA-6jmw-6mxw-w4jc

Also known as: CVE-2023-39914, RUSTSEC-2023-0062

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-13 15:31 UTC
Modified
2024-09-11 18:45 UTC

Affected packages and fixes

bcder

crates.io · All systems

Affected

  • introduced 0, fixed 0.7.3 (semver)

Fixed versions

0.7.3

Fix

  • Fixed version 0.7.3
    cargo update -p bcder --precise 0.7.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences