# CVE-2021-21907: A directory traversal vulnerability exists in the CMA CLI getenv command functionality of Garrett Metal Detectors’ iC Module CMA Version 5.…

- Severity: Medium 4.9 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-22T18:06:49.000Z
- Modified: 2026-06-17T03:36:20.390Z
- Weaknesses: CWE-22
- Assigned by: talos

## 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.

(As written by CVE List.)

## Affected

- Garrett Metal Detectors: Garrett Metal Detectors iC Module CMA Version 5.0
- garrett ic_module_cma: 5.0

## Every score

- talos: CVSS:3.0 4.9 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1358> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21907](https://www.cve.org/CVERecord?id=CVE-2021-21907), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21907](https://nvd.nist.gov/vuln/detail/CVE-2021-21907), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21907 · Whole record: https://cve.day/CVE-2021-21907.json · Rebuilt by cve.day 2026-11-25T22:58:06.119Z
