Vulnerability · Published Feb 8, 2023 · Assigned by openssl
CVE-2023-0216Invalid pointer dereference in d2i_PKCS7 functions
High 7.5
In plain English
A high-severity null pointer dereference in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openssl | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-devel | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-libs | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-perl | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| Alpine:v3.20 | openssl | 3.0.8-r0 | ALPINE-CVE-2023-0216 |
| Alpine:v3.21 | openssl | 3.0.8-r0 | ALPINE-CVE-2023-0216 |
| Alpine:v3.22 | openssl | 3.0.8-r0 | ALPINE-CVE-2023-0216 |
| Alpine:v3.23 | openssl | 3.0.8-r0 | ALPINE-CVE-2023-0216 |
| Alpine:v3.24 | openssl | 3.0.8-r0 | ALPINE-CVE-2023-0216 |
| Debian:12 | openssl | 3.0.8-1 | DEBIAN-CVE-2023-0216 |
| Debian:13 | openssl | 3.0.8-1 | DEBIAN-CVE-2023-0216 |
| Debian:14 | openssl | 3.0.8-1 | DEBIAN-CVE-2023-0216 |
| Rocky Linux:9 | openssl | 1:3.0.1-47.el9_1 | RLSA-2023:0946 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.8 | UBUNTU-CVE-2023-0216 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.8 | USN-5844-1 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H