CVE-2021-40668 Path traversal in n/a

High 8.1 Published Updated

Attackers can exploit path traversal in the Android HTTP File Server to list directories, read, and write arbitrary files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40668?

CVE-2021-40668 is a high-severity path traversal vulnerability in n/a, published on 9 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Android application HTTP File Server (Version 1.4.1) by 'slowscript' is affected by a path traversal vulnerability that permits arbitrary directory listing, file read, and file write.

Weakness: CWE-22

Which versions are affected by CVE-2021-40668?

It affects 1 product.

Products include Http File Server Project Http File Server.

How do I fix CVE-2021-40668?

No fix has been published for CVE-2021-40668 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-2021-40668 being exploited?

There is no known exploitation of CVE-2021-40668 in the wild and no public exploit code.

Sources

Also known as GHSA-m942-cm28-75h2.

Is CVE-2021-40668 in your software?

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

Check your SBOMs for free