CVE-2021-21269 Path Traversal in Keymaker

High 7.7 Published Updated

An attacker can read arbitrary files on the server via path traversal in the assets endpoint of Keymaker.

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-21269?

CVE-2021-21269 is a high-severity path traversal vulnerability in keymaker-mx keymaker, published on 20 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Keymaker is a Mastodon Community Finder based Matrix Community serverlist page Server. In Keymaker before version 0.2.0, the assets endpoint did not check for the extension. The rust `join` method without checking user input might have made it abe to do a Path Traversal attack causing to read more files than allowed. This is fixed in version 0.2.0.

Weakness: CWE-22

Which versions are affected by CVE-2021-21269?

It affects 1 product.

Products include Keymaker Project Keymaker.

How do I fix CVE-2021-21269?

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

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

Sources

Is CVE-2021-21269 in your software?

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

Check your SBOMs for free