Bug 678107 (CVE-2011-1006) - CVE-2011-1006 libcgroup: Heap-based buffer overflow by converting list of controllers for given task into an array of strings
Summary: CVE-2011-1006 libcgroup: Heap-based buffer overflow by converting list of con...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-1006
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 680438 680439
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-16 18:34 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 13:52:28 UTC


Attachments (Terms of Use)
patch (410 bytes, patch)
2011-02-17 11:07 UTC, Jan Safranek
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0320 normal SHIPPED_LIVE Important: libcgroup security update 2011-03-03 23:17:09 UTC

Description Jan Lieskovsky 2011-02-16 18:34:44 UTC
A heap-based buffer overflow flaw was found in the way libcgroup,
control groups controlling and monitoring infrastructure, converted
list of user provided controllers for particular task, dedicated to
run the task in given control groups, into an array of strings.
A local attacker could use this flaw to escalate their privileges
via a specially-crafted list of controllers.

Acknowledgements:

Red Hat would like to thank Nelson Elhage for reporting this issue.

Comment 1 Jan Lieskovsky 2011-02-16 18:36:54 UTC
This issue affects the version of the libcgroup package, as shipped
with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the libcgroup package, as shipped
with Fedora release of 13 and 14.

Comment 4 Jan Safranek 2011-02-17 11:07:25 UTC
Created attachment 479302 [details]
patch

The patch is obviously very simple, just check if nr. of controllers is in valid range.

Comment 7 Jan Lieskovsky 2011-02-22 16:03:05 UTC
The CVE identifier of CVE-2011-1006 has been assigned to this issue.

Comment 13 errata-xmlrpc 2011-03-03 23:17:18 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0320 https://rhn.redhat.com/errata/RHSA-2011-0320.html


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