Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 497406

Summary: dev-perl/Proc-Daemon: writes world-writable PID file
Product: Gentoo Security Reporter: Samuel Damashek (RETIRED) <sdamashek>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: minor CC: perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/732283
Whiteboard: A4 [upstream]
Package list:
Runtime testing required: ---

Description Samuel Damashek (RETIRED) gentoo-dev 2014-01-07 15:29:42 UTC
From ${URL} :

Proc::Daemon, when instructed to write a pid file, does that with a
umask set to 0, so the pid file ends up with mode 666. This is a
rather stupid idea and may well be a security issue.


Upstream bug report: https://rt.cpan.org/Public/Bug/Display.html?id=91450
Debian patch: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libproc-daemon-perl.git;a=blob;f=debian/patches/pid.patch
Comment 1 SpanKY gentoo-dev 2014-01-07 16:12:28 UTC
world readable isn't a security issue.  world writable is.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-01-10 09:45:08 UTC

*** This bug has been marked as a duplicate of bug 494508 ***