CVE-2021-33497 Path Traversal in Dutchcoders transfer.sh
An attacker can exploit a directory traversal vulnerability to delete arbitrary files on the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-33497?
CVE-2021-33497 is a critical path traversal vulnerability in n/a, published on 24 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Dutchcoders transfer.sh before 1.2.4 allows Directory Traversal for deleting files.
Weakness: CWE-22
Which versions are affected by CVE-2021-33497?
3 open source packages ship an affected version, including github.com/dutchcoders/transfer.sh. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
github.com/dutchcoders/transfer.sh Go | All versions | 1.2.4 |
Products include Dutchcoders Transfer.sh.
How do I fix CVE-2021-33497?
Upgrade github.com/dutchcoders/transfer.sh to 1.2.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-33497 being exploited?
There is no known exploitation of CVE-2021-33497 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cf55-rq8x-hm6f, GO-2022-0925.