# CVE-2021-28689: Information disclosure in Xen

> Attackers can exploit speculative execution side channels in 32-bit PV guests to read sensitive data from ring 0 due to IBRS limitations.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Jun 2021
- **Updated:** 3 Aug 2024
- **Also known as:** DEBIAN-CVE-2021-28689, GHSA-45vh-fhgx-cr2p, SUSE-SU-2021:1648-1, UBUNTU-CVE-2021-28689

## What is CVE-2021-28689?

CVE-2021-28689 is a medium-severity vulnerability in Xen Xen, published on 11 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

x86: Speculative vulnerabilities with bare (non-shim) 32-bit PV guests 32-bit x86 PV guest kernels run in ring 1. At the time when Xen was developed, this area of the i386 architecture was rarely used, which is why Xen was able to use it to implement paravirtualisation, Xen's novel approach to virtualization. In AMD64, Xen had to use a different implementation approach, so Xen does not use ring 1 to support 64-bit guests. With the focus now being on 64-bit systems, and the availability of explicit hardware support for virtualization, fixing speculation issues in ring 1 is not a priority for processor companies. Indirect Branch Restricted Speculation (IBRS) is an architectural x86 extension put together to combat speculative execution sidechannel attacks, including Spectre v2. It was retrofitted in microcode to existing CPUs. For more details on Spectre v2, see: http://xenbits.xen.org/xsa/advisory-254.html However, IBRS does not architecturally protect ring 0 from predictions learnt in ring 1. For more details, see: https://software.intel.com/security-software-guidance/deep-dives/deep-dive-indirect-branch-restricted-speculation Similar situations may exist with other mitigations for other kinds of speculative execution attacks. The situation is quite likely to be similar for speculative execution attacks which have yet to be discovered, disclosed, or mitigated.

Weakness: CWE-212 (Improper Removal of Sensitive Information Before Storage or Transfer)

## Which versions are affected by CVE-2021-28689?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `xen` | SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 4.11.4_18-2.54.1 |
| `xen` | SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 4.11.4_18-2.54.1 |
| `xen` | SUSE:OpenStack Cloud 9 | All versions | 4.11.4_18-2.54.1 |
| `xen` | SUSE:OpenStack Cloud Crowbar 9 | All versions | 4.11.4_18-2.54.1 |

Products: Xen Xen.

## How do I fix CVE-2021-28689?

Apply the vendor's patch.

## Is CVE-2021-28689 being exploited?

There is no known exploitation of CVE-2021-28689 in the wild and no public exploit code.

## Other vulnerabilities in Xen Xen

- [CVE-2017-10912](https://insights.sbomify.com/CVE-2017-10912/): Privilege escalation in n/a (critical 10.0)
- [CVE-2017-10918](https://insights.sbomify.com/CVE-2017-10918/): Memory corruption in n/a (critical 10.0)
- [CVE-2017-10920](https://insights.sbomify.com/CVE-2017-10920/): Memory corruption in n/a (critical 10.0)
- [CVE-2017-10921](https://insights.sbomify.com/CVE-2017-10921/): Memory corruption in n/a (critical 10.0)
- [CVE-2025-27466](https://insights.sbomify.com/CVE-2025-27466/): Mutiple vulnerabilities in the Viridian interface (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-28689 and fix it if it is affected.

What it is: CVE-2021-28689 is a medium-severity vulnerability in Xen Xen, published on 11 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-28689 in the wild and no public exploit code.

Affected product: Xen Xen. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-28689/ (Markdown: https://insights.sbomify.com/CVE-2021-28689/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-28689
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-28689
- OSV: https://osv.dev/vulnerability/CVE-2021-28689

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-28689/
Summaries are generated and may contain mistakes; the official description above is the record.
