cve.bz

CVE-2023-6129 openssl openssl: Out-of-bounds Write

6.5 mediumEPSS 2.3%Fix available

Medium (6.5) in openssl openssl. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
Issue summary: The POLY1305 MAC (message authentication code) implementation contains a bug that might corrupt the internal state of applications running on PowerPC CPU based platforms if the CPU provides vector instructions. Impact summary: If an attacker can influence whether the POLY1305 MAC algorithm is used, the application state might be corrupted with various application dependent consequences. The POLY1305 MAC (message authentication code) implementation in OpenSSL for PowerPC CPUs restores the contents of vector registers in a different order than they are saved. Thus the contents of some of these vector registers are corrupted when returning to the caller. The vulnerable code is used only on newer PowerPC processors supporting the PowerISA 2.07 instructions. The consequences of this kind of internal application state corruption can be various - from no consequences, if the calling application does not depend on the contents of non-volatile XMM registers at all, to the worst consequences, where the attacker could get complete control of the application process. However unless the compiler uses the vector registers for storing pointers, the most likely consequence, if any, would be an incorrect result of some application dependent calculations or a crash leading to a denial of service. The POLY1305 MAC algorithm is most frequently used as part of the CHACHA20-POLY1305 AEAD (authenticated encryption with associated data) algorithm. The most common usage of this AEAD cipher is with TLS protocol versions 1.2 and 1.3. If this cipher is enabled on the server a malicious client can influence whether this AEAD cipher is used. This implies that TLS server applications using OpenSSL can be potentially impacted. However we are currently not aware of any concrete application that would be affected by this issue therefore we consider this a Low severity security issue.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th 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: no · Technical impact: partial, assessed 2024-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-440 Expected Behavior Violation
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-6129 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6129?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6129?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-6129 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.2.0 before 3.2.1
OpenSSLfrom 3.1.0 before 3.1.5
OpenSSLfrom 3.0.0 before 3.0.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openssl3.0.13-1~deb12u1DEBIAN-CVE-2023-6129
Debian13, 14openssl3.1.5-1DEBIAN-CVE-2023-6129
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.21USN-6622-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.14UBUNTU-CVE-2023-6129 USN-6622-1
Ubuntu24.04:LTSopenssl3.0.10-1ubuntu4UBUNTU-CVE-2023-6129
UbuntuPro:FIPS-preview:22.04:LTSopensslno fix listedUBUNTU-CVE-2023-6129
UbuntuPro:FIPS-updates:22.04:LTSopenssl3.0.2-0ubuntu1.14+Fips1UBUNTU-CVE-2023-6129
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20240524-6.el9_5RHSA-2024:9088
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20240524-6.el9_5RHSA-2024:9088
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.24.1SUSE-SU-2024:0172-1
openSUSELeap 15.5openssl-33.0.8-150500.5.24.1SUSE-SU-2024:0172-1
openSUSELeap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
openSUSETumbleweedopenssl-33.1.4-3.1openSUSE-SU-2024:13633-1
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20240524-6.el9_5ALSA-2024:9088
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-27.el9ALSA-2024:2447
Rocky Linux9edk20:20240524-6.el9_5.3RLSA-2024:9088
Alpinev3.17openssl3.0.12-r2ALPINE-CVE-2023-6129
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.4-r3ALPINE-CVE-2023-6129
Azure Linux2cloud-hypervisor-cvm38.0.72.2-1AZL-42697
Azure Linux2hvloader1.0.1-6AZL-47643
Azure Linux3cloud-hypervisor-cvm38.0.72.2-1AZL-42754
Azure Linux3nodejs20.14.0-1AZL-35044
Azure Linux3openssl3.3.0-1AZL-35085
Azure Linux3openssl-fips-providerno fix listedAZL-78582

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; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is categorized as having a Low severity due to the limited scope of its potential impact and the specific conditions required for exploitation. The vulnerability arises in the POLY1305 MAC implementation within OpenSSL on PowerPC CPUs, affecting newer processors supporting PowerISA 2.07 instructions. The issue involves the restoration of vector registers in a different order than they are saved, potentially corrupting application state upon return to the caller. The impact varies, contingent on the application's reliance on non-volatile XMM registers, ranging from incorrect calculations to potential denial of service. However, the practical exploitation of this vulnerability requires an attacker to influence the use of the POLY1305 MAC algorithm. Given the specific conditions needed for exploitation and the absence of concrete instances of affected applications, the overall risk is assessed as low. Additionally, the severity is tempered by the assumption that the most likely outcome is limited to incorrect results in application-dependent calculations or crashes, rather than enabling a full compromise of the application process.

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-27.el9Fixed 2024-04-30RHSA-2024:2447
Red Hat Enterprise Linux 9edk2-0:20240524-6.el9_5Fixed 2024-11-12RHSA-2024:9088
Red Hat Enterprise Linux 10mariadb10.11Not affected
Red Hat Enterprise Linux 10mysql8.0Fix deferred
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 6opensslOut of support scope
Red Hat Enterprise Linux 7mariadbNot affected
Red Hat Enterprise Linux 7opensslOut of support scope
Red Hat Enterprise Linux 7ovmfOut of support scope
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8mariadb:10.11/mariadbNot affected
Red Hat Enterprise Linux 8mariadb:10.3/mariadbNot affected
Red Hat Enterprise Linux 8mariadb:10.5/mariadbNot affected
Red Hat Enterprise Linux 8mysql:8.0/mysqlFix deferred
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9mariadbNot affected
Red Hat Enterprise Linux 9mariadb:10.11/mariadbNot affected
6 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-6129.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
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-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone 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