CVE-2023-0401 json
NULL dereference during PKCS7 data verification
published 2023-02-07 3 y ago modified 2026-09-10 59 d ago also EUVD-2023-0803 , GHSA-vrh7-x64v-7vxq , RUSTSEC-2023-0013
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash.
The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider.
PKCS7 data is processed by the SMIME library calls and also by the time stamp (TS) library calls. The TLS implementation in OpenSSL does not call these functions however third party applications would be affected if they call these functions to verify signatures on untrusted data.
Patch / fix
- crates.io openssl-src 300.0.12
- OpenSSL OpenSSL 3.0.8
- openssl Debian 14, Debian 13, Debian 12 3.0.8-1
debian advisories DEBIAN-CVE-2023-0401
- nodejs Ubuntu 22.04 LTS 12.22.9~dfsg-1ubuntu3.3
- openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.8
ubuntu advisories UBUNTU-CVE-2023-0401
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssl RHEL 9 1:3.0.1-47.el9_1
- openssl-libs RHEL 9 1:3.0.1-47.el9_1
- openssl-perl RHEL 9 1:3.0.1-47.el9_1
- openssl RHEL 9.0 EUS 1:3.0.1-46.el9_0
- openssl-libs RHEL 9.0 EUS 1:3.0.1-46.el9_0
- openssl-perl RHEL 9.0 EUS 1:3.0.1-46.el9_0
red hat advisories RHSA-2023:1199RHSA-2023:0946
- openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.1-150400.4.17.1
suse advisories SUSE-SU-2023:0312-1
- openssl-3 openSUSE Tumbleweed 3.0.8-1.1
opensuse advisories openSUSE-SU-2024:12716-1
- openssl AlmaLinux 9 1:3.0.1-47.el9_1
- openssl-libs AlmaLinux 9 1:3.0.1-47.el9_1
- openssl-perl AlmaLinux 9 1:3.0.1-47.el9_1
almalinux advisories ALSA-2023:0946
- openssl Rocky Linux 9 1:3.0.1-47.el9_1
rocky linux advisories RLSA-2023:0946
- openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 3.0.8-r0
- openssl3 Alpine 3.16, Alpine 3.15 3.0.8-r0
alpine advisories ALPINE-CVE-2023-0401
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-0401 updated cvss 7.5
openssl: NULL dereference during PKCS7 data verification
-
Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.0.1-47.el9_1fixed: vendor fix RHSA-2023:0946
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-perl 3.0.1-46.el9_0fixed: vendor fix RHSA-2023:1199
-
Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.1-47.el9_1, openssl-libs 3.0.1-47.el9_1fixed: vendor fix RHSA-2023:0946
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl 3.0.1-46.el9_0, openssl-libs 3.0.1-46.el9_0fixed: vendor fix RHSA-2023:1199
-
Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat Enterprise Linux 9 edk2, shim, shim-x64, edk2-ovmf, shim-aa64, edk2-tools, +2 more Red Hat JBoss Core Services jbcs-httpd24-openssl Red Hat JBoss Web Server 3 opensslnot affected: vulnerable code not present
+1 more productsfewer
Red Hat JBoss Web Server 5 openssl
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-065-01 updated cvss 7.5
Hitachi Energy PCU400
-
Hitachi Energy PCU400 <=6.5_K, <=9.4.1affected: fixed in 6.6.0
-
Hitachi Energy PCULogger <=1.1.0affected: no fix planned
-
Hitachi Energy PCU400 6.6.0, 9.4.2 Hitachi Energy PCULogger 1.2.0fixed
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-320-08 updated cvss 7.5
Siemens SCALANCE Family Products
-
Siemens SCALANCE XB205-3 (SC, PN) (6GK5205-3BB00-2AB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BB00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BD00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, PN) (6GK5205-3BD00-2AB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, E/IP) (6GK5205-3BF00-2TB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, PN) (6GK5205-3BF00-2AB2) <V4.5affected: fixed in V4.5 support.industry.siemens.com
+34 more productsfewer
Siemens SCALANCE XB208 (E/IP) (6GK5208-0BA00-2TB2) <V4.5 Siemens SCALANCE XB208 (PN) (6GK5208-0BA00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (SC, E/IP) (6GK5213-3BD00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (SC, PN) (6GK5213-3BD00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (ST, E/IP) (6GK5213-3BB00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (ST, PN) (6GK5213-3BB00-2AB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, E/IP) (6GK5213-3BF00-2TB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, PN) (6GK5213-3BF00-2AB2) <V4.5 Siemens SCALANCE XB216 (E/IP) (6GK5216-0BA00-2TB2) <V4.5 Siemens SCALANCE XB216 (PN) (6GK5216-0BA00-2AB2) <V4.5 Siemens SCALANCE XC206-2 (SC) (6GK5206-2BD00-2AC2) <V4.5 Siemens SCALANCE XC206-2 (ST/BFOC) (6GK5206-2BB00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (6GK5206-2RS00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (54 V DC) (6GK5206-2RS00-5AC2) <V4.5 Siemens SCALANCE XC206-2G PoE EEC (54 V DC) (6GK5206-2RS00-5FC2) <V4.5 Siemens SCALANCE XC206-2SFP (6GK5206-2BS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP EEC (6GK5206-2BS00-2FC2) <V4.5 Siemens SCALANCE XC206-2SFP G (6GK5206-2GS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP G (EIP DEF.) (6GK5206-2GS00-2TC2) <V4.5 Siemens SCALANCE XC206-2SFP G EEC (6GK5206-2GS00-2FC2) <V4.5 Siemens SCALANCE XC208 (6GK5208-0BA00-2AC2) <V4.5 Siemens SCALANCE XC208EEC (6GK5208-0BA00-2FC2) <V4.5 Siemens SCALANCE XC208G (6GK5208-0GA00-2AC2) <V4.5 Siemens SCALANCE XC208G (EIP def.) (6GK5208-0GA00-2TC2) <V4.5 Siemens SCALANCE XC208G EEC (6GK5208-0GA00-2FC2) <V4.5 Siemens SCALANCE XC208G PoE (6GK5208-0RA00-2AC2) <V4.5 Siemens SCALANCE XC208G PoE (54 V DC) (6GK5208-0RA00-5AC2) <V4.5 Siemens SCALANCE XC216 (6GK5216-0BA00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (6GK5216-3RS00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (54 V DC) (6GK5216-3RS00-5AC2) <V4.5 Siemens SCALANCE XC216-4C (6GK5216-4BS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (6GK5216-4GS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (EIP Def.) (6GK5216-4GS00-2TC2) <V4.5 Siemens SCALANCE XC216-4C G EEC (6GK5216-4GS00-2FC2) <V4.5
31 more affected in the full advisory
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-046-15 updated cvss 7.5
Siemens SINEC NMS
-
Siemens SINEC NMS <V2.0_SP1affected: fixed in V2.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-229-01 updated cvss 5.9
ICONICS and Mitsubishi Electric Products
-
ICONICS, Mitsubishi Electric ICONICS Suite including GENESIS64, Hyper Historian, AnalytiX, and MobileHMI 10.97.2affected: mitigation “Version 10.97.2 Critical Fixes Rollup 2 and later is not vulnerable to these exploits. ICONICS recommends that users of its products take the following mitigation steps:” partners.iconics.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | openssl-src | >=300.0.0, <300.0.12 |
300.0.12 |
Affected products
- OpenSSL OpenSSL
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=d3b6dfd70db844c4499bec6ad6601623a565e674
patch, web, vendor-advisory
-
openssl.org
/news/secadv/20230207.txt
vendor-advisory, web
-
security.gentoo.org
/glsa/202402-08
web
-
psirt.global.sonicwall.com
/vuln-detail/SNWLID-2023-0003
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-0401
advisory
-
github.com
/alexcrichton/openssl-src-rs
package
-
rustsec.org
/advisories/RUSTSEC-2023-0013.html
web, advisory
-
crates.io
/crates/openssl-src
package
Sources
- CVE List CVE-2023-0401
- GitHub Advisory GHSA-vrh7-x64v-7vxq
- NVD CVE-2023-0401
- OSV RUSTSEC-2023-0013
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.