{"id":"CVE-2021-21908","published":"2021-12-22T18:06:52Z","modified":"2024-08-03T18:30:22Z","title":"Specially-crafted command line arguments can lead to arbitrary file deletion","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01488,"percentile":0.73973,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1359","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.79},{"name":"CVSS severity","points":4.2}]},"affectedVersions":[{"vendor":"n/a","product":"Garrett Metal Detectors","versions":["Garrett Metal Detectors iC Module CMA Version 5.0"]}],"euvd":{"id":"EUVD-2021-9079","exploited":false,"provenance":"source"}}