CVE-2021-21908CWE-22

Specially-crafted command line arguments can lead to arbitrary file deletion

Medium · published December 22, 2021

CVSS v3.0
6.0
EPSS
1%
Percentile
73.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.0 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01488 · 73.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2021-12-22T18:06Z
EPSS history
Timeline
  • 22 DEC 18:06Z
    Specially-crafted command line arguments can lead to arbitrary file deletion
    cvelistv5