CVE-2021-3845 External Control of File Name or Path in netristv/ws-scrcpy

High 7.5 Published Updated

Attackers can manipulate file paths to read or modify arbitrary files in the ws-scrcpy web application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-3845?

CVE-2021-3845 is a high-severity path traversal vulnerability in netristv/ws-scrcpy, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ws-scrcpy is vulnerable to External Control of File Name or Path

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2021-3845?

It affects 1 product.

Products include Ws Scrcpy Project Ws Scrcpy.

How do I fix CVE-2021-3845?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-3845 being exploited?

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

Sources

Also known as GHSA-rrcw-m6cc-w2cx.

Is CVE-2021-3845 in your software?

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

Check your SBOMs for free