CVE-2012-2673
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.8% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.8% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- boehm-demers-weiser Garbage Collector ≤ 7.2
- boehm-demers-weiser Garbage Collector 1.3
- boehm-demers-weiser Garbage Collector 1.4
- boehm-demers-weiser Garbage Collector 1.5
- boehm-demers-weiser Garbage Collector 1.8
- boehm-demers-weiser Garbage Collector 1.9
- boehm-demers-weiser Garbage Collector 2.0
- boehm-demers-weiser Garbage Collector 2.1
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2673.md and follow it. Check whether this project is affected by CVE-2012-2673. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
- https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
- https://github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
- https://github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
- https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
- https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
- https://github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
- https://github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
References
- http://kqueue.org/blog/2012/03/05/memory-allocator-security-revisited/
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html
- http://rhn.redhat.com/errata/RHSA-2013-1500.html
- http://rhn.redhat.com/errata/RHSA-2014-0149.html
- http://rhn.redhat.com/errata/RHSA-2014-0150.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:158
- http://www.openwall.com/lists/oss-security/2012/06/05/1
- http://www.openwall.com/lists/oss-security/2012/06/07/13
- http://www.securityfocus.com/bid/54227
- http://www.ubuntu.com/usn/USN-1546-1
- https://github.com/ivmai/bdwgc/blob/master/ChangeLog
- https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
- https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
- https://github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
- https://github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
- http://kqueue.org/blog/2012/03/05/memory-allocator-security-revisited/
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html
- http://rhn.redhat.com/errata/RHSA-2013-1500.html
- http://rhn.redhat.com/errata/RHSA-2014-0149.html
- http://rhn.redhat.com/errata/RHSA-2014-0150.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:158
- http://www.openwall.com/lists/oss-security/2012/06/05/1
- http://www.openwall.com/lists/oss-security/2012/06/07/13