Bug 828839 (CVE-2012-2676)

Summary: CVE-2012-2676 hoard: malloc() and calloc() size overflows
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: me
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:58:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 828841    
Bug Blocks:    

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.