Bug 805299 (CVE-2012-1187) - CVE-2012-1187 bitlbee: does not drop extra group privileges
Summary: CVE-2012-1187 bitlbee: does not drop extra group privileges
Alias: CVE-2012-1187
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 805301 805302
TreeView+ depends on / blocked
Reported: 2012-03-20 20:15 UTC by Vincent Danen
Modified: 2019-09-29 12:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-19 15:39:31 UTC

Attachments (Terms of Use)

Description Vincent Danen 2012-03-20 20:15:27 UTC
It was reported [1] that Bitlbee did not drop group privileges correctly.  Bitlbee is supposed to drop privileges, but it simply calls setgid() followed by setuid() which is insufficient, as the extra groups the process was started with are still available.

This is corrected upstream [2] (although the changeset r856 includes some unrelated fixes as well; the patch to unix.c is the required fix).  Bitlbee 3.0.4 is affected.

[1] http://bugs.bitlbee.org/bitlbee/ticket/852
[2] http://bugs.bitlbee.org/bitlbee/changeset/devel%2C856#file3

Comment 1 Vincent Danen 2012-03-20 20:16:54 UTC
Created bitlbee tracking bugs for this issue

Affects: fedora-all [bug 805301]
Affects: epel-all [bug 805302]

Note You need to log in before you can comment on or make changes to this bug.