CVE-2023-0216: Invalid pointer dereference in d2i_PKCS7 functions

Published Jan 25, 2023
·
Updated

A flaw was found in OpenSSL. An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2iPKCS7(), d2iPKCS7bio() or d2iPKCS7fp() functions. This may result in an application crash which could lead to a denial of service. The TLS implementation in OpenSSL does not call this function, however, third party applications might call these functions on untrusted data.

Other sources

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2iPKCS7(), d2iPKCS7bio() or d2iPKCS7fp() 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.

NVD

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2iPKCS7(), d2iPKCS7bio() or d2iPKCS7fp() 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.

GitHub

Affected Software

6 affected componentsFixes available
redhat/openssl<1:3.0.1-47.el9_1
1:3.0.1-47.el9_1
redhat/openssl<1:3.0.1-46.el9_0
1:3.0.1-46.el9_0
rust/openssl-src>=300.0.0<300.0.12
300.0.12
debian/openssl
1.1.1w-0+deb11u11.1.1n-0+deb11u53.0.14-1~deb12u13.0.14-1~deb12u23.3.2-1
OpenSSL OpenSSL>=3.0.0<=3.0.7
Stormshield Stormshield Management Center<3.3.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1:3.0.1-47.el9_1
  2. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1:3.0.1-46.el9_0
  3. Upgrade

    Upgrade rust/openssl-src to a version that resolves this vulnerability.

    Fixed in 300.0.12
  4. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 1.1.1w-0+deb11u1Fixed in 1.1.1n-0+deb11u5Fixed in 3.0.14-1~deb12u1Fixed in 3.0.14-1~deb12u2Fixed in 3.3.2-1

Event History

Jan 25, 2023
Data Sourced
via Red Hat·03:45 PM
DescriptionSeverityAffected Software
Feb 7, 2023
CVE Published
12:00 AM
Feb 8, 2023
CVE Published
via MITRE·07:03 PM
Data Sourced
via MITRE·07:03 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:23 PM
Feb 21, 2024
Data Sourced
via Launchpad·12:37 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:50 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-0216?

CVE-2023-0216 is a vulnerability in OpenSSL that allows an invalid pointer dereference on read, leading to a denial of service.

2

How can CVE-2023-0216 be triggered?

CVE-2023-0216 can be triggered when an application tries to load malformed PKCS7 data using the d2i_PKCS7() functions in OpenSSL.

3

What is the severity of CVE-2023-0216?

CVE-2023-0216 has a severity level of high with a severity value of 7.

4

Which software versions are affected by CVE-2023-0216?

CVE-2023-0216 affects OpenSSL versions up to but excluding 3.0.7, as well as StormShield Management Center versions up to but excluding 3.3.3.

5

Is there a fix for CVE-2023-0216?

Yes, a fix has been provided for CVE-2023-0216. For OpenSSL, upgrade to version 1:3.0.1-47.el9_1 or 1:3.0.1-46.el9_0. For StormShield Management Center, upgrade to version 3.3.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203