### [CVE-2021-21908](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21908) ![](https://img.shields.io/static/v1?label=Product&message=Garrett%20Metal%20Detectors&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](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=brighgreen) ### Description Specially-crafted command line arguments can lead to arbitrary file deletion. The handle_delete function does not attempt to sanitize or otherwise validate the contents of the [file] parameter (passed to the function as argv[1]), allowing an authenticated attacker to supply directory traversal primitives and delete semi-arbitrary files. ### POC #### Reference - https://talosintelligence.com/vulnerability_reports/TALOS-2021-1359 #### Github No PoCs found on GitHub currently.