Processor optimization removal or modification of security-critical code in Xen - CVE-2022-42331

 

Processor optimization removal or modification of security-critical code in Xen - CVE-2022-42331

Published: March 21, 2023


Vulnerability identifier: #VU73892
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-42331
CWE-ID: CWE-1037
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker to escalate privileges on the system.

The vulnerability exists due to an oversight in the very original Spectre/Meltdown security work (XSA-254) caused by an unprotected RET instruction. An attacker with access to the guest OS can infer the contents of arbitrary host memory, including memory assigned to other guests.


Affected software

Xen
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Server Applications Module
openSUSE Leap
Fedora
PowerStore T
EMC Cloud Tiering Appliance
xen
xen-libs-32bit
xen-tools
xen-libs
xen-libs-debuginfo-32bit
xen-debugsource
xen-doc-html
xen-tools-debuginfo
xen-tools-domU
xen-libs-debuginfo
xen-tools-domU-debuginfo
xen-devel
xen-tools-xendomains-wait-disk
xen (Debian package)
xen-libs-32bit-debuginfo

How to mitigate CVE-2022-42331

Install updates from vendor's website.

PowerStore T - update to 3.5.0.1-2083289
xen - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-libs-32bit - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.16.3_06-150400.4.25.1
xen-tools - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-libs - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-libs-debuginfo-32bit - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1
xen-debugsource - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-doc-html - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.16.3_06-150400.4.25.1
xen-tools-debuginfo - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-tools-domU - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-libs-debuginfo - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-tools-domU-debuginfo - addressed in versions 4.7.6_32-43.104.1, 4.11.4_38-2.89.1, 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-devel - addressed in versions 4.12.4_34-3.88.1, 4.12.4_34-150100.3.86.1, 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen-tools-xendomains-wait-disk - addressed in versions 4.13.4_20-150200.3.71.1, 4.14.5_12-150300.3.48.1, 4.16.3_06-150400.4.25.1
xen (Debian package) - update to 4.14.5+94-ge49571868d-1
xen - addressed in versions 4.16.3-4.fc36, 4.16.3-4.fc37, 4.17.0-8.fc38
xen-libs-32bit-debuginfo - update to 4.16.3_06-150400.4.25.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.22

External References

Related Security Bulletins