Bug 461015 (CVE-2008-3529)

Summary: CVE-2008-3529 libxml2: long entity name heap buffer overflow
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kreilly, kseifried, mnowak, security-response-team, skakar, veillard
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: 2011-09-30 19:35:37 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: 461019, 461020, 461021, 461022, 461023, 461024    
Bug Blocks:    
Attachments:
Description Flags
Proposed patch from Daniel Veillard (against 2.6.32) none

Description Tomas Hoger 2008-09-03 14:29:00 UTC
It was discovered, that libxml2 does not properly handle long XML entity names.  In the xmlParseAttValueComplex() function in parser.c, when entity name is not substituted with entity value, but is sent to output unchanged, buffer used to store entity name may not be grown sufficiently in case of long entity names, resulting in a heap buffer overflow.

Issue is already fixed upstream in version 2.7.0.

Comment 1 Tomas Hoger 2008-09-03 14:37:47 UTC
Created attachment 315648 [details]
Proposed patch from Daniel Veillard (against 2.6.32)

Comment 6 Tomas Hoger 2008-09-11 13:08:04 UTC
Lifting embargo.