{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21908","id":"CVE-2021-21908","title":"Specially-crafted command line arguments can lead to arbitrary file deletion","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.","descriptionLong":"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.","published":"2021-12-22T18:06:52.000Z","updated":"2026-06-17T03:36:20.493Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"talos","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","rating":"medium","source":"NVD"},{"version":"3.0","score":6,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","rating":"medium","source":"talos"},{"version":"3.0","score":6,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","rating":"medium","source":"cisco.com"},{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Garrett Metal Detectors"],"affectedProducts":[{"vendor":"n/a","product":"Garrett Metal Detectors","defaultStatus":null,"versions":[{"status":"affected","version":"Garrett Metal Detectors iC Module CMA Version 5.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1359","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01488,"epssPercentile":0.74622,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21908","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21908","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21908","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21908","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}