Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409213 (CVE-2012-1187) - <net-im/bitlbee-3.0.5-r1: does not drop groups correctly in unix.c (CVE-2012-1187)
Summary: <net-im/bitlbee-3.0.5-r1: does not drop groups correctly in unix.c (CVE-2012-...
Status: RESOLVED FIXED
Alias: CVE-2012-1187
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: http://bugs.bitlbee.org/bitlbee/ticke...
Whiteboard: B4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 18:03 UTC by Agostino Sarubbo
Modified: 2012-07-10 21:04 UTC (History)
3 users (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 2012-03-21 18:03:16 UTC
From upstream bugzilla at $URL:

When 'dropping privileges' bitlbee simply does a 'setgid' followed by a 'setuid' call in unix.c. However, this is not sufficient. The code needs to 'drop' the extra groups that the process was started with through initgroups or setgroups.
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2012-03-22 14:45:57 UTC
This is fixed in bitlbee-3.0.5-r1 (and -r0), already in ~testing.
Comment 2 Tim Sammut (RETIRED) gentoo-dev 2012-03-22 14:54:14 UTC
(In reply to comment #1)
> This is fixed in bitlbee-3.0.5-r1 (and -r0), already in ~testing.

Thanks, Alex. Can we roll forward and stabilize =net-im/bitlbee-3.0.5-r1?
Comment 3 Tim Harder gentoo-dev 2012-03-22 17:02:18 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > This is fixed in bitlbee-3.0.5-r1 (and -r0), already in ~testing.
> 
> Thanks, Alex. Can we roll forward and stabilize =net-im/bitlbee-3.0.5-r1?

It should be good to go. I've masked the skype use flag across all arches since skype has no stable versions.
Comment 4 Tim Sammut (RETIRED) gentoo-dev 2012-03-22 17:32:46 UTC
Great, thank you.

Arches, please test and mark stable:
=net-im/bitlbee-3.0.5-r1
Target keywords : "amd64 ppc x86"
Comment 5 Elijah "Armageddon" El Lazkani (amd64 AT) 2012-03-22 20:25:28 UTC
The following keyword changes are necessary to proceed:
#required by net-im/bitlbee-3.0.5-r1[skype], required by @selected, required by @world (argument)
=dev-python/skype4py-1.0.32.0 ~amd6

how about stabilizing that too ?
Comment 6 Tim Harder gentoo-dev 2012-03-22 20:29:31 UTC
(In reply to comment #5)
> The following keyword changes are necessary to proceed:
> #required by net-im/bitlbee-3.0.5-r1[skype], required by @selected, required
> by @world (argument)
> =dev-python/skype4py-1.0.32.0 ~amd6
> 
> how about stabilizing that too ?

No, because as noted previously the skype use flag is masked and will remain that way since skype dropped its stable keywords.
Comment 7 Elijah "Armageddon" El Lazkani (amd64 AT) 2012-03-22 21:37:08 UTC
amd64: pass
Comment 8 Agostino Sarubbo gentoo-dev 2012-03-23 10:31:24 UTC
amd64 stable
Comment 9 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-03-27 15:02:33 UTC
x86 stable
Comment 10 Michael Weber (RETIRED) gentoo-dev 2012-06-14 20:44:42 UTC
ppc stable
Comment 11 Tim Sammut (RETIRED) gentoo-dev 2012-06-16 23:07:03 UTC
Thanks, everyone. I think this is about a B3 or B4 level issue. GLSA Vote: no.
Comment 12 Sean Amoss (RETIRED) gentoo-dev Security 2012-07-10 21:04:24 UTC
GLSA vote: no.

Closing noglsa.