CVE-2021-21908Published Dec 22, 2021 · Dec 22Updated Jun 17
Specially-crafted command line arguments can lead to arbitrary file deletion
Garrett Metal Detectors
Medium6.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Garrett Metal Detectors |
| No fix yet |
Original 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.
From the CVE record · talos