Heap-based buffer overflow in libcgroup - CVE-2011-1006
Published: March 22, 2011 / Updated: August 11, 2020
libcgroup
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the parse_cgroup_spec function in tools/tools-common.c in the Control Group Configuration Library (aka libcgroup or libcg) before 0.37.1. A remote attacker can use a crafted controller list on the command line of an application. NOTE to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
How to mitigate CVE-2011-1006
Sources
- http://libcg.git.sourceforge.net/git/gitweb.cgi?p=libcg/libcg;a=commit;h=5ae8aea1ecd60c439121d3329d8eaabf13d292c1
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056683.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056734.html
- http://lists.opensuse.org/opensuse-updates/2011-04/msg00027.html
- http://secunia.com/advisories/43611
- http://secunia.com/advisories/43758
- http://secunia.com/advisories/43891
- http://secunia.com/advisories/44093
- http://sourceforge.net/projects/libcg/files/libcgroup/v0.37.1/libcgroup-0.37.1.tar.bz2/download
- http://www.debian.org/security/2011/dsa-2193
- http://www.redhat.com/support/errata/RHSA-2011-0320.html
- http://www.securityfocus.com/bid/46729
- http://www.securitytracker.com/id?1025158
- http://www.vupen.com/english/advisories/2011/0679
- http://www.vupen.com/english/advisories/2011/0774
- https://bugzilla.redhat.com/show_bug.cgi?id=678107