Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201707-12 ] MAN DB: Privilege escalation
Date: Sun, 09 Jul 2017 20:26:11
Message-Id: 9c789c81-9461-f8c4-cbc0-c798e6bf5cbd@gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201707-12
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: MAN DB: Privilege escalation
     Date: July 09, 2017
     Bugs: #602588
       ID: 201707-12

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in MAN DB allows local users to gain root privileges.

Background
==========

MAN DB is a man replacement that utilizes BerkelyDB instead of flat
files.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  sys-apps/man-db           < 2.7.6.1-r2           >= 2.7.6.1-r2

Description
===========

The /var/cache/man directory as part of the MAN DB package has group
permissions set to root.

Impact
======

A local user who does not belong to the root group, but has the ability
to modify the /var/cache/man directory can escalate privileges to the
group root.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All MAN DB users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=sys-apps/man-db-2.7.6.1-r2"

References
==========

[ 1 ] CVE-2015-1336
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1336

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201707-12

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@g.o or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2017 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature