Skip to content
Info disclosure Advisory Advanced CVE-2021-21988

VMware Workstation ThinPrint JPEG2000 Out-Of-Bounds Read Information Disclosure Vulnerability

The ThinPrint component in VMware Workstation does not properly validate user-supplied data when parsing JPEG2000 codestreams embedded in EMF files, leading to an out-of-bounds read. A local attacker with low-privileged code execution on the guest can disclose sensitive information and potentially escalate privileges to execute code in the hypervisor context.

Anonymous Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of VMware Workstation. An attacker must first obtain the ability to execute low-privileged code on the target guest system in order to exploit this vulnerability.

Anonymous, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the ThinPrint component fails to properly validate the size or structure of user-supplied JPEG2000 data embedded in EMF files, leading to an out-of-bounds read.

Impact

A local attacker with low-privileged code execution on the guest could disclose sensitive information and, in conjunction with other vulnerabilities, escalate privileges to execute arbitrary code in the hypervisor context.

What the attacker needed

Low-privileged code execution on guest

The fix

VMware has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This bug is in a part of VMware Workstation called ThinPrint, which handles printing from a virtual machine. When it reads a special image file (JPEG2000 inside an EMF file), it can be tricked into reading memory beyond the intended buffer, leaking sensitive data. An attacker who can already run low-privileged code on the guest could use this to potentially take over the host.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.