Bug 828839 (CVE-2012-2676) - CVE-2012-2676 hoard: malloc() and calloc() size overflows
Summary: CVE-2012-2676 hoard: malloc() and calloc() size overflows
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2012-2676
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 828841
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-05 12:52 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:58:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2012-06-05 12:52:18 UTC
A security flaw was found in the way malloc() and calloc() routines implementation in Hoard, a fast, scalable, and memory-efficient allocator, performed validation of their arguments for overflows. If an application using Hoard memory allocator was missing application-level malloc() and calloc() routines arguments validity checks, a remote attacker could provide a specially-crafted application-specific input file, leading to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application.

References:
[1] http://www.openwall.com/lists/oss-security/2012/06/05/1

Upstream patch:
Based on [1] there doesn't seem to be upstream patch yet.

Comment 1 Jan Lieskovsky 2012-06-05 12:54:48 UTC
Based on [1], this issue affects the v3.8 versions (thus also those, which are currently being shipped in Fedora release of 15, 16, and 17) of Hoard.

Please schedule an update for these hoard versions, once there is final upstream patch available.

Comment 2 Jan Lieskovsky 2012-06-05 12:55:35 UTC
Created hoard tracking bugs for this issue

Affects: fedora-all [bug 828841]

Comment 3 Ryan H. Lewis (rhl) 2012-06-05 22:06:16 UTC
Hi,

I have notified upstream myself, as soon as an update comes around I will provide it.

Comment 4 Jan Lieskovsky 2012-06-08 08:16:53 UTC
The CVE identifier of CVE-2012-2676 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/06/07/13

Comment 5 Jan Lieskovsky 2012-06-08 08:20:00 UTC
(In reply to comment #3)
> Hi,
> 
> I have notified upstream myself, as soon as an update comes around I will
> provide it.

Thanks, Ryan. Would you need a way how to reproduce this issue, contact Xi Wang (original issue reporter) [1]

Comment 6 Ryan H. Lewis (rhl) 2012-06-08 15:28:33 UTC
Ok, will do. It seems there is a fix in the works. to be released soon.

Comment 7 Product Security DevOps Team 2019-06-10 10:58:47 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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