CVE-2022-35631 Filesystem race on temporary files

Medium 5.5 Published Updated

An attacker can exploit a race condition in temporary file handling to overwrite arbitrary files via symlink attacks on MacOS and Linux.

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-2022-35631?

CVE-2022-35631 is a medium-severity vulnerability in Rapid7 Velociraptor, published on 29 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

On MacOS and Linux, it may be possible to perform a symlink attack by replacing this predictable file name with a symlink to another file and have the Velociraptor client overwrite the other file. This issue was resolved in Velociraptor 0.6.5-2.

Weakness: CWE-59, CWE-377

Which versions are affected by CVE-2022-35631?

It affects 1 product.

Products include Rapid7 Velociraptor.

How do I fix CVE-2022-35631?

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

Is CVE-2022-35631 being exploited?

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

Sources

Also known as GHSA-3wmf-q566-h69q.

Is CVE-2022-35631 in your software?

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

Check your SBOMs for free