NetSight
medium5.6No CVE yet

GHSA-vchc-9ggh-3236

Duplicate Advisory: uutils coreutils has a Path Traversal issue

Impact

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-89p7-7cq3-hhr2. This link is maintained to preserve external references. ### Original Description A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.

An attacker can exploit this with local access to the system, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data or systems being changed, low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rustcoreutils<= 0.8.0none recorded

Weakness classification

References