Menu

Commit [0d88b7]  Maximize  Restore  History

cgrulesengd: remove umask(0)

One of our partners has noticed that cgred daemon is creating a log file
(/var/log/cgred) with too wide permissions (0666) and that is seen as
a security bug because an untrusted user can write to otherwise
restricted area. CVE-2018-14348 has been assigned to this issue.

Signed-off-by: Michal Hocko <mhocko@...>
Acked-by: Balbir Singh <bsingharora@...>

Michal Hocko Michal Hocko 2018-07-18

Nikola Forró Nikola Forró 2018-07-25

changed src/daemon/cgrulesengd.c
src/daemon/cgrulesengd.c Diff Switch to side-by-side view
Loading...