CVE-2021-21904 Path traversal in Garrett Metal Detectors

Critical 9.1 Published Updated

An attacker can exploit a directory traversal flaw in the CMA CLI setenv command to read or modify files on the device.

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

CVE-2021-21904 is a critical 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 setenv command of Garrett Metal Detectors’ iC Module CMA Version 5.0. An attacker can provide malicious input to trigger this vulnerability

Weakness: CWE-22

Which versions are affected by CVE-2021-21904?

It affects 1 product.

Products include Garrett Ic Module Cma.

How do I fix CVE-2021-21904?

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

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

Sources

Also known as GHSA-6xfv-w5h7-m942.

Is CVE-2021-21904 in your software?

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

Check your SBOMs for free