CVE-2021-47688 Race condition in WhiteBeam

Medium 5.7 Published Updated

A local attacker can bypass allow-list restrictions by exploiting a race condition between file truncation and verification actions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47688?

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

Official description

In WhiteBeam 0.2.0 through 0.2.1 before 0.2.2, a user with local access to a server can bypass the allow-list functionality because a file can be truncated in the OpenFileDescriptor action before the VerifyCanWrite action is performed.

Weakness: CWE-696

Which versions are affected by CVE-2021-47688?

How do I fix CVE-2021-47688?

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

Is CVE-2021-47688 being exploited?

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

Sources

Also known as GHSA-3f8r-9483-pfxj, GHSA-fjgv-863q-h54r.

Is CVE-2021-47688 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free