CVE-2022-1850 Path Traversal in filegator/filegator
An attacker can exploit a path traversal vulnerability in Filegator to read or modify files outside the intended directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-1850?
CVE-2022-1850 is a medium-severity path traversal vulnerability in filegator/filegator, published on 24 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Path Traversal in GitHub repository filegator/filegator prior to 7.8.0.
Weakness: CWE-22
Which versions are affected by CVE-2022-1850?
2 open source packages ship an affected version, including filegator/filegator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
filegator/filegator Packagist | All versions | 7.8.0 |
filegator/filegator Packagist | All versions | 7.8.0 |
Products include Filegator Filegator.
How do I fix CVE-2022-1850?
Upgrade filegator/filegator to 7.8.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-1850 being exploited?
There is no known exploitation of CVE-2022-1850 in the wild and no public exploit code.
Other vulnerabilities in filegator/filegator
Sources
Also known as GHSA-rrhw-54r8-545q.