1 matches found
mkfifo: permissions of an existing file are changed after FIFO creation fails
When mkfifo fails e.g. target already exists, the code shows an error but is missing a continue;, so it falls through to fs::setpermissions and changes the permissions of the pre-existing file to the default FIFO mode 0o666 & umask - 0644. $ touch secret; chmod 000 secret $ coreutils mkfifo secre...
7.1CVSS6AI score0.00141EPSS
SaveExploits1References5Affected Software1
20