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

Bug 568968 (CVE-2015-1336)

Summary: sys-apps/man-db: TOCTOU bug when processing catman pages
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED INVALID    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1292432
Whiteboard: A3 [upstream cve]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2015-12-21 09:44:38 UTC
From ${URL} :

The following flaw was found in man-db:

The daily mandb cleanup job for old catman pages changes the permissions of all non-man files to 
user man.

Originally filed against Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/1482786

External References:

http://www.halfdog.net/Security/2015/MandbSymlinkLocalRootPrivilegeEscalation/


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 SpanKY gentoo-dev 2015-12-23 01:06:23 UTC
the bug in question is about the cron script Ubuntu uses.  our script isn't impacted as we don't chown files under the cache dir.