CVE-2020-8214 Path traversal in servey
An attacker can read arbitrary files on the server due to a path traversal vulnerability in the servey library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8214?
CVE-2020-8214 is a high-severity path traversal vulnerability in servey, published on 20 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A path traversal vulnerability in servey version < 3 allows an attacker to read content of any arbitrary file.
Weakness: CWE-22
Which versions are affected by CVE-2020-8214?
2 open source packages ship an affected version, including servey. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
servey npm | All versions | 3.3.2 |
servey npm | All versions | 3.3.2 |
Products include Servey Project Servey.
How do I fix CVE-2020-8214?
Upgrade servey to 3.3.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-8214 being exploited?
There is no known exploitation of CVE-2020-8214 in the wild and no public exploit code.
Sources
Also known as GHSA-v3px-6cc8-f8j3.