nlnetlabs/bcder · Security
BER/CER/DER decoder panics on invalid input
- GHSA ID
- GHSA-6jmw-6mxw-w4jc
- CVE ID
- CVE-2023-39914
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-228 · Improper Handling of Syntactically Invalid Structure
- CWE-232 · Improper Handling of Undefined Values