NetSight
medium4.4No CVE yet

GHSA-rx8h-33gr-vhj9

Duplicate Advisory: uutils coreutils' comm utility incorrectly consumes data from non-regular file inputs before performing comparison operations

Impact

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3wfc-mgpm-9rq6. This link is maintained to preserve external references. ### Original Description The comm utility in uutils coreutils incorrectly consumes data from non-regular file inputs before performing comparison operations. The are_files_identical function opens and reads from both input paths to compare content without first verifying if the paths refer to regular files. If an input path is a FIFO or a pipe, this pre-read operation drains the stream, leading to silent data loss before the actual comparison logic is executed. Additionally, the utility may hang indefinitely if it attempts to pre-read from infinite streams like /dev/zero.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: low risk of data or systems being changed, low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rustcoreutils< 0.6.00.6.0

Weakness classification

References