CVE-2021-21907 Path traversal in Garrett Metal Detectors
A directory traversal flaw in the CMA CLI allows attackers to read local files via malicious command line arguments.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-21907?
CVE-2021-21907 is a medium-severity path traversal vulnerability in Garrett Metal Detectors, published on 22 Dec 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A directory traversal vulnerability exists in the CMA CLI getenv command functionality of Garrett Metal Detectors’ iC Module CMA Version 5.0. A specially-crafted command line argument can lead to local file inclusion. An attacker can provide malicious input to trigger this vulnerability.
Weakness: CWE-22
Which versions are affected by CVE-2021-21907?
It affects 1 product.
Products include Garrett Ic Module Cma.
How do I fix CVE-2021-21907?
No fix has been published for CVE-2021-21907 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-21907 being exploited?
There is no known exploitation of CVE-2021-21907 in the wild and no public exploit code.
Other vulnerabilities in Garrett Metal Detectors
Sources
Also known as GHSA-mr9v-gjm8-c8rm.