CVE-2023-6129 POLY1305 MAC implementation corrupts vector registers on PowerPC
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl mariner | < 38.0.72.2-1 | 38.0.72.2-1 |
| Microsoft cbl mariner | < 1.0.1-6 | 1.0.1-6 |
| Microsoft cbl mariner | < 18.20.2-1 | 18.20.2-1 |
| Microsoft azure linux | < 38.0.72.2-1 | 38.0.72.2-1 |
| Microsoft azure linux | < 20.14.0-1 | 20.14.0-1 |
| Microsoft azure linux | < 3.3.0-1 | 3.3.0-1 |
| debian/openssl(Debian:12) | < 3.0.13-1~deb12u1 | 3.0.13-1~deb12u1 |
| debian/openssl(Debian:12) | = 3.0.10-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.10-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.9-1 | No fix listed |
| debian/openssl(Debian:13) | < 3.1.5-1 | 3.1.5-1 |
| debian/openssl(Debian:14) | < 3.1.5-1 | 3.1.5-1 |
| OpenSSL | >= 3.2.0, < 3.2.1 | 3.2.1 |
| OpenSSL | >= 3.1.0, < 3.1.5 | 3.1.5 |
| OpenSSL | >= 3.0.0, < 3.0.13 | 3.0.13 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 |
| Siemens SINEC NMS | < V3.0 SP1 | V3.0 SP1 |
| ubuntu/openssl(Ubuntu:24.04) | < 3.0.10-1ubuntu4 | 3.0.10-1ubuntu4 |
| OpenSSL | >= 3.0.0, <= 3.0.12 | No fix listed |
| OpenSSL | >= 3.1.0, <= 3.1.4 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenSSL | = 3.2.0 | No fix listed |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.12-r2 | 3.0.12-r2 |
| alpine/openssl(Alpine:v3.18) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.19) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.20) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.21) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.22) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.23) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| alpine/openssl(Alpine:v3.24) | >= 3.1.0, < 3.1.4-r3 | 3.1.4-r3 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.14 | 3.0.2-0ubuntu1.14 |
| ubuntu/openssl(Ubuntu:22.04) | = 1.1.1l-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.0-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.1-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.2 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.4 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.5 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.6 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.7 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.8 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.9 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.10 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.12 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.13 | No fix listed |
| ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) | = 3.0.2-0ubuntu1.10+Fips1 | No fix listed |
| ubuntu/openssl(Ubuntu:Pro:FIPS-preview:22.04) | = 3.0.2-0ubuntu1.12+Fips1 | No fix listed |
| ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) | < 3.0.2-0ubuntu1.14+Fips1 | 3.0.2-0ubuntu1.14+Fips1 |
| ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) | = 3.0.2-0ubuntu1.10+Fips1 | No fix listed |
| ubuntu/openssl(Ubuntu:Pro:FIPS-updates:22.04) | = 3.0.2-0ubuntu1.12+Fips1 | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | = 3.0.10-1ubuntu2 | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | = 3.0.10-1ubuntu2.1 | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | = 3.0.10-1ubuntu3 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- cloud-hypervisor-cvm vendor-advisory
- Debian Security Tracker CVE-2023-6129 vendor-advisory
- OpenSSL Advisory issue-tracking vendor-advisory
- 3.2.1 git commit patch
- 3.1.5 git commit patch
- 3.0.13 git commit patch
- security.netapp.com
- security.netapp.com
- security.netapp.com
- www.openwall.com
- security.netapp.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6622-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory