VDB
Sign up
MEDIUM5.5

GHSA-m2pg-c7m6-77pj

uutils coreutils has an Improper Input Validation Issue in its cut Utility

Details

A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single quotes) as an empty delimiter. The implementation mistakenly maps this string to the NUL character for both the -d (delimiter) and --output-delimiter options. This vulnerability can lead to silent data corruption or logic errors in automated scripts and data pipelines that process strings containing these characters, as the utility may unintentionally split or join data on NUL bytes rather than the intended literal characters.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/coreutils
Introduced in: 0Fixed in: 0.8.0

Upgrade coreutils to 0.8.0 or newer (ecosystem crates.io).

References