GitHub Advisoryadvisory · crates.io
GHSA-29xx-hcv2-c4cp openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2023-0216 advisory
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=934a04f0e775309cadbef0aa6b9692e1b12a76c6 web
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003 web
- https://rustsec.org/advisories/RUSTSEC-2023-0011.html web
- https://security.gentoo.org/glsa/202402-08 web
- https://www.openssl.org/news/secadv/20230207.txt web