VDB
Sign up
LOW3.3

GHSA-fhr3-xh3q-69w6

uutils coreutils has an Incorrect Provision of Specified Functionality Issue

Details

A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes. The implementation mistakenly includes the ASCII space character (0x20) in the [:graph:] class and excludes it from the [:print:] class, effectively reversing the standard behavior established by POSIX and GNU coreutils. This vulnerability leads to unintended data modification or loss when the utility is used in automated scripts or data-cleaning pipelines that rely on standard character class semantics. For example, a command executed to delete all graphical characters while intending to preserve whitespace will incorrectly delete all ASCII spaces, potentially resulting in data corruption or logic failures in downstream processing.

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