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 package | Versions | Reported by |
|---|---|---|
| NLnet Labs bcder | from * 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.3 | GitHub Advisory Database, RustSec Advisory Database |
| nlnetlabs bcder | before 0.7.3 | NVD |
All scores
| NLnet Labs | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| RustSec Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-39914 changed 2024-09-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6jmw-6mxw-w4jc changed 2024-09-11 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2023-0062 changed 2024-02-10 | CC0-1.0 |
| NVD | CVE-2023-39914 changed 2026-06-17 | Public domain |