CVE-2023-0216 Invalid pointer dereference in d2i_PKCS7 functions
HighCVSS 7.5
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- OpenSSLUbuntuDebian
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.
Upgrade path
17 packages: 17 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/openssl(Alpine v3.17) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.18) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.19) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.20) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.21) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.22) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.23) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl(Alpine v3.24) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl3(Alpine v3.15) | < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| alpine/openssl3(Alpine v3.16) | < 3.0.8-r0 | 3.0.8-r0 | Fixed |
| crates.io openssl-src(crates.io) | >= 300.0.0, < 300.0.12 | 300.0.12 | Fixed |
| debian/openssl(Debian 12) | < 3.0.8-1 | 3.0.8-1 | Fixed |
| debian/openssl(Debian 13) | < 3.0.8-1 | 3.0.8-1 | Fixed |
| debian/openssl(Debian 14) | < 3.0.8-1 | 3.0.8-1 | Fixed |
| OpenSSL | >= 3.0.0, < 3.0.8; >= 3.0.0, <= 3.0.7 | 3.0.8 | Fixed |
| stormshield management center | < 3.3.3 | 3.3.3 | Fixed |
| ubuntu/openssl(Ubuntu 22.04) | < 3.0.2-0ubuntu1.8; = 1.1.1l-1ubuntu1; = 3.0.0-1ubuntu1; = 3.0.1-0ubuntu1 +7 more | 3.0.2-0ubuntu1.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io openssl-src(crates.io) | >= 300.0.0, < 300.0.12 | 300.0.12 |
| debian/openssl(Debian:12) | < 3.0.8-1 | 3.0.8-1 |
| debian/openssl(Debian:13) | < 3.0.8-1 | 3.0.8-1 |
| debian/openssl(Debian:14) | < 3.0.8-1 | 3.0.8-1 |
| OpenSSL | >= 3.0.0, < 3.0.8 | 3.0.8 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.8 | 3.0.2-0ubuntu1.8 |
| OpenSSL | >= 3.0.0, <= 3.0.7 | No fix listed |
| stormshield management center | < 3.3.3 | 3.3.3 |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.18) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.19) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl3(Alpine:v3.15) | < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl3(Alpine:v3.16) | < 3.0.8-r0 | 3.0.8-r0 |
| ubuntu/openssl(Ubuntu:22.04) | = 1.1.1l-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.0-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.1-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.2 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.4 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.5 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.6 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.7 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- 3.0.8 git commit patch vendor-advisory
- psirt.global.sonicwall.com
- rustsec.org vendor-advisory
- security.gentoo.org
- OpenSSL Advisory issue-tracking vendor-advisory
- crates.io product
- Debian Security Tracker CVE-2023-0216 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5844-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory