GHSA-3wfc-mgpm-9rq6
comm: FIFO/pipe inputs are drained before comparison (data loss / hang)
상세
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.
--- _Zellic finding 3.35. Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
0 수정 버전: 0.6.0 Upgrade uu_comm to 0.6.0 or newer (ecosystem crates.io).
참고
- https://github.com/uutils/coreutils/security/advisories/GHSA-3wfc-mgpm-9rq6 [WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-35347 [ADVISORY]
- https://github.com/uutils/coreutils/pull/9545 [WEB]
- https://github.com/uutils/coreutils/commit/75f45e87e52ed95840494963ab9a28651165d56e [WEB]
- https://github.com/uutils/coreutils [PACKAGE]
- https://github.com/uutils/coreutils/releases/tag/0.6.0 [WEB]