Advisory

RUSTSEC-2023-0062

Also known as: CVE-2023-39914, GHSA-6jmw-6mxw-w4jc

Summary

BER/CER/DER decoder panics on invalid input

Details

Due to insufficient checking of input data, decoding certain data sequences
can lead to _bcder_ panicking rather than returning an error. This can affect
both the actual decoding stage as well as accessing content of types that
utilized delayed decoding.

bcder 0.7.3 fixes these issues by more thoroughly checking inputs and
returning errors as expected.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-09-13 12:00 UTC
Modified
2024-02-10 15:57 UTC

Affected packages and fixes

bcder

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences