### [CVE-2021-21907](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21907) ![](https://img.shields.io/static/v1?label=Product&message=Garrett%20Metal%20Detectors&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=Garrett%20Metal%20Detectors%20iC%20Module%20CMA%20Version%205.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brightgreen) ### 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. ### POC #### Reference - https://talosintelligence.com/vulnerability_reports/TALOS-2021-1358 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/wr0x00/Lizard - https://github.com/wr0x00/Lsploit