CVE-2023-39914
JSON

7.5high

BER/CER/DER decoder panics on invalid input

Severity
7.5high CVSS:3.1 by NLnet Labs
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NLnet Labs
Also known as
GHSA-6jmw-6mxw-w4jcRUSTSEC-2023-0062

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

Product or packageVersionsReported by
NLnet Labs bcderfrom * before 0.7.3
Not affected: from 0.7.3 before *
CVE List
bcder (crates.io)before 0.7.3, from 0.0.0-0 before 0.7.3GitHub Advisory Database, RustSec Advisory Database
nlnetlabs bcderbefore 0.7.3NVD

All scores

NLnet Labs7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
RustSec Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-228CWE-232CWE-240

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

RustSec Advisory Database

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.

NVD (es)

La biblioteca bder de NLnet Labs hasta la versión 0.7.2 incluida entra en pánico al decodificar ciertos datos de entrada no válidos en lugar de rechazar los datos con un error. Esto puede afectar tanto a la etapa de decodificación real como al acceso a contenidos de tipos que utilizaron decodificación retrasada.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-39914 changed 2024-09-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-6jmw-6mxw-w4jc changed 2024-09-11CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0062 changed 2024-02-10CC0-1.0
NVDCVE-2023-39914 changed 2026-06-17Public domain