Описание
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.
| Релиз | Статус | Примечание |
|---|---|---|
| devel | not-affected | 0.8.0-0ubuntu3 |
| esm-apps/noble | needed | |
| jammy | DNE | |
| noble | needed | |
| questing | ignored | end of life, was needed |
| resolute | not-affected | 0.8.0-0ubuntu3 |
| upstream | released | 0.6.0-1 |
Показывать по
EPSS
4.4 Medium
CVSS3
Связанные уязвимости
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.
The comm utility in uutils coreutils incorrectly consumes data from no ...
comm: FIFO/pipe inputs are drained before comparison (data loss / hang)
EPSS
4.4 Medium
CVSS3