Описание
cut: -s ignored in -z -d '' newline-delimiter mode
cut routes -z -d '' through a special newline-delimiter path that ignores the -s only-delimited flag, emitting whole undelimited records (plus NUL) that should be suppressed. Pipelines relying on cut -s to drop undelimited records process data that should be filtered.
Zellic private finding (zellic-ext/coreutils-private PR #102). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.
Ссылки
- https://github.com/uutils/coreutils/security/advisories/GHSA-pmfc-4wjj-gmhx
- https://nvd.nist.gov/vuln/detail/CVE-2026-35381
- https://github.com/uutils/coreutils/pull/11394
- https://github.com/uutils/coreutils/commit/483f13e91830c468262aa1e010e753d6ae99c898
- https://github.com/uutils/coreutils/releases/tag/0.8.0
Пакеты
uu_cut
< 0.7.0
0.7.0
Связанные уязвимости
A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this specific combination through a specialized newline-delimiter code path that fails to check the record suppression status. Consequently, uutils cut emits the entire record plus a NUL byte instead of suppressing it. This divergence from GNU coreutils behavior creates a data integrity risk for automated pipelines that rely on cut -s to filter out undelimited data.
A logic error in the cut utility of uutils coreutils causes the utility to ignore the -s (only-delimited) flag when using the -z (null-terminated) and -d '' (empty delimiter) options together. The implementation incorrectly routes this specific combination through a specialized newline-delimiter code path that fails to check the record suppression status. Consequently, uutils cut emits the entire record plus a NUL byte instead of suppressing it. This divergence from GNU coreutils behavior creates a data integrity risk for automated pipelines that rely on cut -s to filter out undelimited data.
A logic error in the cut utility of uutils coreutils causes the utilit ...