{"id":"CVE-2021-21908","aliases":["CVE-2021-21908"],"related":[],"kind":"vulnerability","state":"published","title":"Specially-crafted command line arguments can lead to arbitrary file deletion.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Los argumentos de la línea de comandos especialmente diseñados pueden conllevar a un borrado arbitrario de archivos. La función handle_delete no intenta sanear o comprobar de alguna manera el contenido del parámetro [file] (pasado a la función como argv[1]), lo que permite a un atacante autenticado suministrar primitivas de salto de directorio y eliminar archivos semi-arbitrarios","source":"nvd"}],"published":"2021-12-22T18:06:52.000Z","modified":"2026-06-17T03:36:20.493Z","severity":{"scorer":"talos","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"talos","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","score":6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"Garrett Metal Detectors iC Module CMA Version 5.0","status":"affected"}],"product":"Garrett Metal Detectors","source":"cvelist"},{"ranges":[{"status":"affected","version":"5.0"}],"vendor":"garrett","product":"ic_module_firmware","cpe":"cpe:2.3:o:garrett:ic_module_firmware:5.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1359","tags":["exploit","technical-description","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"talos","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21908","url":"https://www.cve.org/CVERecord?id=CVE-2021-21908","licence":"CVE Terms of Use","modified":"2024-08-03T18:30:22.889Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21908","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21908","licence":"Public domain","modified":"2026-06-17T03:36:20.493Z"}],"updatedAt":"2026-11-25T22:58:06.119Z","epss":{"score":0.01488,"percentile":0.7482,"date":"2026-12-01T12:00:22.000Z"}}