# CVE-2021-21988: Information disclosure in VMware Workstation Pro / Player (Workstation), VMware Horizon Client for Windows

> A malicious actor with VM access can exploit an out-of-bounds read in the ThinPrint component to disclose information from the host system.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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:** No
- **Published:** 24 May 2021
- **Updated:** 3 Aug 2024
- **Also known as:** GHSA-w69v-q5pj-q9r2

## What is CVE-2021-21988?

CVE-2021-21988 is a medium-severity vulnerability in Vmware Workstation, published on 24 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

VMware Workstation (16.x prior to 16.1.2) and Horizon Client for Windows (5.x prior to 5.5.2) contain out-of-bounds read vulnerability in the Cortado ThinPrint component (JPEG2000 Parser). A malicious actor with access to a virtual machine or remote desktop may be able to exploit these issues leading to information disclosure from the TPView process running on the system where Workstation or Horizon Client for Windows is installed.

Weakness: CWE-125 (Out-of-bounds Read)

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

It affects 2 products.


Products: Vmware Horizon Client, Vmware Workstation.

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

No fix has been published for CVE-2021-21988 yet. Limit exposure of the affected software until one is available.

## Is CVE-2021-21988 being exploited?

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

## Other vulnerabilities in Vmware Workstation

- [CVE-2020-3961](https://insights.sbomify.com/CVE-2020-3961/): Privilege escalation in VMware Horizon Client for Windows (high 7.8)
- [CVE-2019-5543](https://insights.sbomify.com/CVE-2019-5543/): Privilege escalation in VMware Horizon Client for Windows (high 7.8)
- [CVE-2018-6964](https://insights.sbomify.com/CVE-2018-6964/): Privilege escalation in Horizon Client for Linux (high 7.8)
- [CVE-2020-3991](https://insights.sbomify.com/CVE-2020-3991/): Path traversal in VMware Horizon Client for Windows (high 7.1)
- [CVE-2021-21987](https://insights.sbomify.com/CVE-2021-21987/): Information disclosure in VMware Workstation Pro / Player (Workstation), VMware Horizon Client for Windows (medium 6.5)

## Fix prompt for AI coding agents

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

What it is: CVE-2021-21988 is a medium-severity vulnerability in Vmware Workstation, published on 24 May 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-21988 in the wild and no public exploit code.

Affected product: Vmware Workstation. 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-21988/ (Markdown: https://insights.sbomify.com/CVE-2021-21988/index.md)
```

## Sources

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

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