CVE-2021-33497 Path Traversal in Dutchcoders transfer.sh

Critical 9.1 Published Updated

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.

PackageAffectedFixed in
github.com/dutchcoders/transfer.sh GoAll versions1.2.4
github.com/dutchcoders/transfer.sh GoAll versions1.2.4
github.com/dutchcoders/transfer.sh GoAll versions1.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.

Sources

Also known as GHSA-cf55-rq8x-hm6f, GO-2022-0925.

Is CVE-2021-33497 in your software?

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

Check your SBOMs for free