CVE-2021-28099 Insecure temporary file in Netflix OSS Hollow
Attackers can exploit a race condition and weak randomness in Netflix OSS Hollow to pre-create directories with wide permissions, potentially leading to privilege escalation or data modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-28099?
CVE-2021-28099 is a medium-severity vulnerability in Netflix OSS Hollow, published on 23 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In Netflix OSS Hollow, since the Files.exists(parent) is run before creating the directories, an attacker can pre-create these directories with wide permissions. Additionally, since an insecure source of randomness is used, the file names to be created can be deterministically calculated.
Weakness: CWE-330
Which versions are affected by CVE-2021-28099?
2 open source packages ship an affected version, including com.netflix.hollow:hollow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.netflix.hollow:hollow Maven | All versions to 6.1.0 | None |
com.netflix.hollow:hollow Maven | All versions to 6.1.0 | None |
Products include Netflix Hollow.
How do I fix CVE-2021-28099?
No fix has been published for CVE-2021-28099 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-28099 being exploited?
There is no known exploitation of CVE-2021-28099 in the wild and no public exploit code.
Sources
Also known as GHSA-9295-mhf3-v33m.