CVE-2021-21908
published medium CVSS 3.0 · 6.0Garrett Metal Detectors vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Garrett Metal DetectorsGarrett Metal Detectors iC Module CMA Version 5.0 | Affected | Not stated | talos |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- talos · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Garrett Metal Detectors | Garrett Metal Detectors iC Module CMA Version 5.0 (affected) | talos · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2talos · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b6309b026d2000b27adea4f817399a1611dc4a1b62bb4a310d3513b56c45a4e1
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record