Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568968 (CVE-2015-1336) - sys-apps/man-db: TOCTOU bug when processing catman pages
Summary: sys-apps/man-db: TOCTOU bug when processing catman pages
Status: RESOLVED INVALID
Alias: CVE-2015-1336
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: A3 [upstream cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 09:44 UTC by Agostino Sarubbo
Modified: 2017-01-19 10:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.