NVD - CVE-2023-5363 (original) (raw)

CVE-2023-5363 Detail

Description

Issue summary: A bug has been identified in the processing of key and initialisation vector (IV) lengths. This can lead to potential truncation or overruns during the initialisation of some symmetric ciphers. Impact summary: A truncation in the IV can result in non-uniqueness, which could result in loss of confidentiality for some cipher modes. When calling EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2() the provided OSSL_PARAM array is processed after the key and IV have been established. Any alterations to the key length, via the "keylen" parameter or the IV length, via the "ivlen" parameter, within the OSSL_PARAM array will not take effect as intended, potentially causing truncation or overreading of these values. The following ciphers and cipher modes are impacted: RC2, RC4, RC5, CCM, GCM and OCB. For the CCM, GCM and OCB cipher modes, truncation of the IV can result in loss of confidentiality. For example, when following NIST's SP 800-38D section 8.2.1 guidance for constructing a deterministic IV for AES in GCM mode, truncation of the counter portion could lead to IV reuse. Both truncations and overruns of the key and overruns of the IV will produce incorrect results and could, in some cases, trigger a memory exception. However, these issues are not currently assessed as security critical. Changing the key and/or IV lengths is not considered to be a common operation and the vulnerable API was recently introduced. Furthermore it is likely that application developers will have spotted this problem during testing since decryption would fail unless both peers in the communication were similarly vulnerable. For these reasons we expect the probability of an application being vulnerable to this to be quite low. However if an application is vulnerable then this issue is considered very serious. For these reasons we have assessed this issue as Moderate severity overall. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this because the issue lies outside of the FIPS provider boundary. OpenSSL 3.1 and 3.0 are vulnerable to this issue.

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.

CVSS 4.0 Severity and Vector Strings:

NIST CVSS score

NIST: NVD

N/A

NVD assessment not yet provided.

CVSS 3.x Severity and Vector Strings:

NIST CVSS score

NIST: NVD

Base Score: 7.5 HIGH

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

ADP: CISA-ADP

Base Score: 7.5 HIGH

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS 2.0 Severity and Vector Strings:

National Institute of Standards and Technology

NIST: NVD

Base Score: N/A

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://www.openwall.com/lists/oss-security/2023/10/24/1 CVE
https://cert-portal.siemens.com/productcert/html/ssa-082556.html siemens-SADP
https://cert-portal.siemens.com/productcert/html/ssa-093430.html siemens-SADP
https://cert-portal.siemens.com/productcert/html/ssa-277137.html siemens-SADP
https://cert-portal.siemens.com/productcert/html/ssa-331112.html siemens-SADP
https://cert-portal.siemens.com/productcert/html/ssa-769027.html siemens-SADP
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0df40630850fb2740e6be6890bb905d3fc623b2d CVE, OpenSSL Software Foundation Mailing List Patch Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5f69f5c65e483928c4b28ed16af6e5742929f1ee CVE, OpenSSL Software Foundation Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20231027-0010/ CVE
https://security.netapp.com/advisory/ntap-20240201-0003/ CVE
https://security.netapp.com/advisory/ntap-20240201-0004/ CVE
https://security.netapp.com/advisory/ntap-20241108-0002/ CVE
https://www.debian.org/security/2023/dsa-5532 CVE
https://www.openssl.org/news/secadv/20231024.txt CVE, OpenSSL Software Foundation Vendor Advisory

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-noinfo Insufficient Information cwe source acceptance level NIST
CWE-684 Incorrect Provision of Specified Functionality OpenSSL Software Foundation

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

12 change records found show changes

CVE Modified by siemens-SADP 6/17/2026 2:48:25 AM

Action Type Old Value New Value
Added Affected [{"vendor":"Siemens","product":"SIDIS Prime","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"V4.0.700","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.5","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.5","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.5","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.5","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.5","lessThan":"*","versionType":"custom","status":"affected"}]},{"vendor":"Siemens","product":"SINEC NMS","defaultStatus":"unknown","versions":[{"version":"0","lessThan":"V3.0 SP1","versionType":"custom","status":"affected"}]}]

CVE Modified by CISA-ADP 6/17/2026 2:48:25 AM

Action Type Old Value New Value
Added SSVC {"timestamp":"2025-06-03T19:15:36.625641Z","id":"CVE-2023-5363","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}

CVE Modified by OpenSSL Software Foundation 6/17/2026 2:48:25 AM

Action Type Old Value New Value
Added Affected [{"vendor":"OpenSSL","product":"OpenSSL","defaultStatus":"unaffected","versions":[{"version":"3.0.0","lessThan":"3.0.12","versionType":"semver","status":"affected"},{"version":"3.1.0","lessThan":"3.1.4","versionType":"semver","status":"affected"}]}]

CVE Modified by siemens-SADP 5/12/2026 7:16:16 AM

Action Type Old Value New Value
Added Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html
Added Reference https://cert-portal.siemens.com/productcert/html/ssa-093430.html
Added Reference https://cert-portal.siemens.com/productcert/html/ssa-277137.html
Added Reference https://cert-portal.siemens.com/productcert/html/ssa-331112.html
Added Reference https://cert-portal.siemens.com/productcert/html/ssa-769027.html

CVE Modified by CISA-ADP 12/02/2025 3:15:48 PM

Action Type Old Value New Value
Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVE Modified by CVE 11/03/2025 5:16:32 PM

Action Type Old Value New Value
Added Reference https://security.netapp.com/advisory/ntap-20241108-0002/

CVE Modified by CVE 11/21/2024 3:41:36 AM

Action Type Old Value New Value
Added Reference http://www.openwall.com/lists/oss-security/2023/10/24/1
Added Reference https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0df40630850fb2740e6be6890bb905d3fc623b2d
Added Reference https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5f69f5c65e483928c4b28ed16af6e5742929f1ee
Added Reference https://security.netapp.com/advisory/ntap-20231027-0010/
Added Reference https://security.netapp.com/advisory/ntap-20240201-0003/
Added Reference https://security.netapp.com/advisory/ntap-20240201-0004/
Added Reference https://www.debian.org/security/2023/dsa-5532
Added Reference https://www.openssl.org/news/secadv/20231024.txt

CVE Modified by OpenSSL Software Foundation 10/14/2024 11:15:12 AM

Action Type Old Value New Value
Added CWE OpenSSL Software Foundation CWE-684
Removed Reference OpenSSL Software Foundation http://www.openwall.com/lists/oss-security/2023/10/24/1
Removed Reference OpenSSL Software Foundation https://security.netapp.com/advisory/ntap-20231027-0010/
Removed Reference OpenSSL Software Foundation https://security.netapp.com/advisory/ntap-20240201-0003/
Removed Reference OpenSSL Software Foundation https://security.netapp.com/advisory/ntap-20240201-0004/
Removed Reference OpenSSL Software Foundation https://www.debian.org/security/2023/dsa-5532

CVE Modified by OpenSSL Software Foundation 5/14/2024 10:26:35 AM

Action Type Old Value New Value

CVE Modified by OpenSSL Software Foundation 2/01/2024 12:15:08 PM

Action Type Old Value New Value
Added Reference OpenSSL Software Foundation https://security.netapp.com/advisory/ntap-20240201-0003/ [No types assigned]
Added Reference OpenSSL Software Foundation https://security.netapp.com/advisory/ntap-20240201-0004/ [No types assigned]

Initial Analysis by NIST 11/09/2023 8:55:32 AM

Action Type Old Value New Value
Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Added CWE NIST NVD-CWE-noinfo
Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300s:*:*:*:*:*:*:*:*
Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:*
Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410s:*:*:*:*:*:*:*:*
Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500s:*:*:*:*:*:*:*:*
Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700s:*:*:*:*:*:*:*:*
Added CPE Configuration OR *cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.12 *cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.4
Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
Changed Reference Type http://www.openwall.com/lists/oss-security/2023/10/24/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/10/24/1 Mailing List, Third Party Advisory
Changed Reference Type https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0df40630850fb2740e6be6890bb905d3fc623b2d No Types Assigned https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=0df40630850fb2740e6be6890bb905d3fc623b2d Mailing List, Patch, Third Party Advisory
Changed Reference Type https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5f69f5c65e483928c4b28ed16af6e5742929f1ee No Types Assigned https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5f69f5c65e483928c4b28ed16af6e5742929f1ee Patch, Vendor Advisory
Changed Reference Type https://security.netapp.com/advisory/ntap-20231027-0010/ No Types Assigned https://security.netapp.com/advisory/ntap-20231027-0010/ Third Party Advisory
Changed Reference Type https://www.debian.org/security/2023/dsa-5532 No Types Assigned https://www.debian.org/security/2023/dsa-5532 Third Party Advisory
Changed Reference Type https://www.openssl.org/news/secadv/20231024.txt No Types Assigned https://www.openssl.org/news/secadv/20231024.txt Vendor Advisory

CVE Modified by OpenSSL Software Foundation 10/27/2023 11:15:15 AM

Action Type Old Value New Value
Added Reference https://security.netapp.com/advisory/ntap-20231027-0010/ [No Types Assigned]

Quick Info

CVE Dictionary Entry:
CVE-2023-5363
NVD Published Date:
10/25/2023
NVD Last Modified:
06/17/2026
Source:
OpenSSL Software Foundation