script command in the util-linux package before 2.11n allows local users to overwrite arbitrary files by setting a hardlink from the typescript log file to any file on the system, then having root execute the script command.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Util-linux | Kernel | * | 2.11n (excluding) |
Red Hat Enterprise Linux 3 | RedHat | util-linux-0:2.11y-31.11 | * |
Red Hat Enterprise Linux 4 | RedHat | util-linux-0:2.12a-16.EL4.12 | * |