CVE-2021-21908
- State
- Published
- Severity
- 6.0 Medium
- Published
- Dec 22, 2021
- Updated
- Aug 3, 2024
- Reserved
- Jan 4, 2021
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 6.0 Medium | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L | talos |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
Garrett Metal Detectorsn/a |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.