cve.bz

CVE-2023-5363

7.5 highEPSS 3.9%Fix available

High (7.5). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.9% (unchanged from 3.9% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-684 Incorrect Provision of Specified Functionality
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5363 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5363?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5363?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5363 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.0.0 before 3.0.12
OpenSSLfrom 3.1.0 before 3.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openssl3.0.11-1~deb12u2DEBIAN-CVE-2023-5363 DSA-5532-1
Debian13, 14openssl3.0.12-1DEBIAN-CVE-2023-5363
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.12UBUNTU-CVE-2023-5363 USN-6450-1
Ubuntu24.04:LTSopenssl3.0.10-1ubuntu2.1UBUNTU-CVE-2023-5363
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2023-5363
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:22.04:LTSopenssl3.0.2-0ubuntu1.12+Fips1UBUNTU-CVE-2023-5363
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-25.el9_3RHSA-2024:0310
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-25.el9_3RHSA-2024:0310
Red Hatrhel_eus:9.2::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-18.el9_2RHSA-2024:0500
Red Hatrhel_eus:9.2::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-18.el9_2RHSA-2024:0500
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4openssl-33.0.8-150400.4.37.1SUSE-SU-2023:4189-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.14.1SUSE-SU-2023:4190-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.37.1SUSE-SU-2023:4189-1
openSUSELeap 15.5openssl-33.0.8-150500.5.14.1SUSE-SU-2023:4190-1
openSUSETumbleweedopenssl-33.1.4-1.1openSUSE-SU-2024:13372-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-25.el9_3ALSA-2024:0310
Alpinev3.17openssl3.0.12-r0ALPINE-CVE-2023-5363
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.4-r0ALPINE-CVE-2023-5363
Azure Linux2cloud-hypervisor-cvm38.0.72.2-1AZL-42712
Azure Linux3cloud-hypervisor-cvm38.0.72.2-1AZL-42751
Azure Linux3openssl-fips-providerno fix listedAZL-78558
Alpaquita23openssl3.0.12-r0BELL-CVE-2023-5363
Alpaquitastreamopenssl3.1.4-r0BELL-CVE-2023-5363
BellSoft Hardened Containers23openssl3.0.12-r0BELL-CVE-2023-5363
BellSoft Hardened Containersstreamopenssl3.1.4-r0BELL-CVE-2023-5363

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The identified bug in the processing of key and initialization vector (IV) lengths within certain symmetric cipher modes poses a moderate severity risk due to its potential impact on data confidentiality and integrity. While the truncation or overreading of key and IV lengths could lead to incorrect cryptographic operations and potential memory exceptions, the probability of exploitation is mitigated by several factors. Firstly, the affected API was recently introduced, limiting its widespread adoption. Secondly, altering key and IV lengths is not a common operation in most cryptographic implementations. Furthermore, the likelihood of vulnerability is reduced by the necessity for both communication peers to be similarly affected for decryption failures to occur, which would likely be detected during testing.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.7-25.el9_3Fixed 2024-01-22RHSA-2024:0310
Red Hat Enterprise Linux 9.2 Extended Update Supportopenssl-1:3.0.7-18.el9_2Fixed 2024-01-25RHSA-2024:0500
RHODF-4.15-RHEL-9odf4/cephcsi-rhel9:v4.15.0-37Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-core-rhel9:v4.15.0-68Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-rhel9-operator:v4.15.0-39Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9:v4.15.0-58Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-rhel9-operator:v4.15.0-13Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.15.0-81Fixed 2024-03-19RHSA-2024:1383
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9shimNot affected
38 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5363.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-319-04Siemens SINEC NMS2024-11-12MultipleSINEC NMSnone listed
ICSA-24-137-07Siemens SIMATIC RTLS Locating Manager2024-05-14MultipleSIMATIC RTLS Locating Manager (6GT2780-0DA00), SIMATIC RTLS Locating Manager (6GT2780-0DA10), SIMATIC RTLS Locating Manager (6GT2780-0DA20) and 4 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON