CVE-2012-2673
Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page function in mallocx.c in Boehm-Demers-Weiser GC (libgc) before 7.2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than expected.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | libgc | Fixed | 1:7.1-9 | DEBIAN-CVE-2012-2673 |
| Debian 13 | libgc | Fixed | 1:7.1-9 | DEBIAN-CVE-2012-2673 |
| Debian 12 | libgc | Fixed | 1:7.1-9 | DEBIAN-CVE-2012-2673 |
| Red Hat Enterprise Linux 6 | gc | Fixed | 0:7.1-12.el6_4 | RHSA-2013:1500 |
| Red Hat Enterprise Linux 6 | gc-devel | Fixed | 0:7.1-12.el6_4 | RHSA-2013:1500 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2013-1500.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1546-1 (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:158 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-0150.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html (vendor-advisory)
References
- http://rhn.redhat.com/errata/RHSA-2013-1500.html
- http://www.ubuntu.com/usn/USN-1546-1
- https://github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html
- http://kqueue.org/blog/2012/03/05/memory-allocator-security-revisited/
- http://www.openwall.com/lists/oss-security/2012/06/05/1
- http://www.openwall.com/lists/oss-security/2012/06/07/13
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:158
- http://rhn.redhat.com/errata/RHSA-2014-0150.html
- https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
- https://github.com/ivmai/bdwgc/blob/master/ChangeLog
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html
- https://github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
- http://rhn.redhat.com/errata/RHSA-2014-0149.html
- https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.