CVE-2022-25358 Path traversal in n/a
Attackers can list directories via path traversal in the awful-salmonella-tar library due to missing safe-path checks.
- 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-2022-25358?
CVE-2022-25358 is a medium-severity path traversal vulnerability in n/a, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A ..%2F path traversal vulnerability exists in the path handler of awful-salmonella-tar before 0.0.4. Attackers can only list directories (not read files). This occurs because the safe-path? Scheme predicate is not used for directories.
Weakness: CWE-22
Which versions are affected by CVE-2022-25358?
It affects 1 product.
Products include Awful-Salmonella-Tar Project Awful-Salmonella-Tar.
How do I fix CVE-2022-25358?
No fix has been published for CVE-2022-25358 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-2022-25358 being exploited?
There is no known exploitation of CVE-2022-25358 in the wild and no public exploit code.
Sources
Also known as GHSA-2vjx-96pr-9r8r.