Follow @Openwall on Twitter for new release announcements and other news
[<prev] [<thread-prev] [day] [month] [year] [list]
Message-ID: <afYDnAYav7qJndlr@netmeister.org>
Date: Sat, 2 May 2026 10:01:00 -0400
From: Jan Schaumann <jschauma@...meister.org>
To: oss-security@...ts.openwall.com
Subject: Re: uutils coreutils CVEs

Collin Funk <collin.funk1@...il.com> wrote:

> We can see that uutils 'mkfifo' creates the fifo with world readable and
> writable permissions and then uses chmod() 


>     umask(000)                              = 002
>     umask(002)                              = 000
>     mknodat(AT_FDCWD, "/tmp/fifo", S_IFIFO|0666) = 0

Minor difference, and not disputing the race condition
here, but doesn't this initially yield a fifo with
mode 664, not 666 due to the umask(002) right before?

Ie., not _world_ writable (although _group_ writable),
even prior to chmod(2).

-Jan

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.