CVE-2023-5363
OpenSSL Key and IV Length Processing Vulnerability
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.
INFO
Published Date :
Oct. 25, 2023, 6:17 p.m.
Last Modified :
Nov. 21, 2024, 8:41 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-5363 has a 8 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-5363
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-5363
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
None
Dockerfile Python HTML
None
Dockerfile Go
Docker image with installed Go and Python made for checking student works at DevOps course
Python Dockerfile Shell
None
HTML
None
Dockerfile Python
A centralized repository of standalone security patches for open source libraries.
appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-5363
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-5363
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
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 [email protected]
Oct. 14, 2024
Action Type Old Value New Value Removed Reference OpenSSL Software Foundation http://www.openwall.com/lists/oss-security/2023/10/24/1 Removed Reference OpenSSL Software Foundation https://www.debian.org/security/2023/dsa-5532 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/ Added CWE OpenSSL Software Foundation CWE-684 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 01, 2024
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 [email protected]
Nov. 09, 2023
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 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 Added CWE NIST NVD-CWE-noinfo 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:*:*:*:*:*:*:* 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: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 AND OR *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 27, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20231027-0010/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-5363
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-5363
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} -0.02%
score
0.38948
percentile