GitHub Advisoryadvisory · crates.io

GHSA-29xx-hcv2-c4cp openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions

HIGH Published 2023-02-08 Modified 2025-11-04 Official page ↗
Aliases
CVE-2023-0216
Ecosystem
crates.io
Packages
openssl-src
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476
Reviewed
2023-02-08

Affected packages

• crates.io openssl-src: >= 300.0.0, < 300.0.12 → fixed in 300.0.12

Description

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the `d2i_PKCS7()`, `d2i_PKCS7_bio()` or `d2i_PKCS7_fp()` functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.

Related

Alias · CVE (1)

  • CVE-2023-0216 An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(),… vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References