CVE-2023-6129
openssl: POLY1305 MAC implementation corrupts vector registers on PowerPC
Overview
Description
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Weakness: CWE-440, CWE-787
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | openssl | >=3.0.0 <=3.0.12||>=3.1.0 <=3.1.4||=3.2.0 | 3.0.133.1.53.2.1 |
| Julia | OpenSSL_jll | >=3.0.8+0, <3.0.13+0 | 3.0.13+0 |
Open a package to see all its vulnerabilities.
Operating systems · 48 fixes
Azure Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-1.azl3 |
| 3.0 | openssl | 0:3.3.0-1.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
Oracle Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.0.1.el9_5 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | openssl +5 | 3.5.7-2.ph5 |
Red Hat 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +17 | eol | — |
| 8 (mysql:8.0) | mecab +11 | affected | — |
| 9 | mysql +6 | affected | — |
| 9 | edk2-aarch64 +3 | 0:20240524-6.el9_5 | RHSA-2024:9088 |
| 9 | openssl +3 | 1:3.0.7-27.el9 | RHSA-2024:2447 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 15.5 | libopenssl-3-devel +2 | 3.0.8-150500.5.24.1 | SUSE-SU-2024:0172-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.el9_5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.4-r3 |
| 3.23 | openssl | 3.1.4-r3 |
| 3.24 | openssl | 3.1.4-r3 |
| edge | openssl | 3.1.4-r3 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl +2 | not affected | |
| libcrypto3-2-34 | 3.2.1-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.13-1~deb12u1 |
| 13 | openssl | 3.1.5-1 |
| 14 | openssl | 3.1.5-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.13-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +7 | 3.1.4-3.1 | openSUSE-SU-2024:13633-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | edk2-aarch64 +1 | 20240524-6.el9_5.3 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.4-r3 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.13-1~deb12u1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 | |
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.14 |
| 24.04 | openssl | 3.0.10-1ubuntu4 |
| 26.04 | openssl | 3.0.10-1ubuntu4 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | not affected |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/01/09/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/03/11/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:9088
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-6129
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/2284243
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2258502
Show all 42 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2284243
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-331112.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6129
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6237
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-0727
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-1298
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-9088.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:9088
- github.com https://github.com/advisories/GHSA-rj8q-prqp-jwfg
- github.com https://github.com/openssl/openssl/commit/050d26383d4e264966fb83428e72d5d48f402d35
- github.com https://github.com/openssl/openssl/commit/5b139f95c9a47a55a0c54100f3837b1eee942b04
- github.com https://github.com/openssl/openssl/commit/f3fc5808fe9ff74042d639839610d03b8fdcc015
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-6129.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-9088.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-6129
- security.netapp.com https://security.netapp.com/advisory/ntap-20240216-0009
- security.netapp.com https://security.netapp.com/advisory/ntap-20240216-0009/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240426-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20240426-0008/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240426-0013
- security.netapp.com https://security.netapp.com/advisory/ntap-20240426-0013/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240503-0011
- security.netapp.com https://security.netapp.com/advisory/ntap-20240503-0011/
- ubuntu.com https://ubuntu.com/security/notices/USN-6622-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-6129
- www.openssl.org https://www.openssl.org/news/secadv/20240109.txt
- www.openwall.com https://www.openwall.com/lists/oss-security/2024/01/09/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.