Bug 971455 (CVE-2013-2156)

Summary: CVE-2013-2156 xml-security-c: Heap-based buffer overflow when processing certain PrefixList attribute values in the Exclusive Canonicalization mode
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xml-security-c-1.7.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:38:39 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: 975304, 975305    
Bug Blocks: 971467    

Description Jan Lieskovsky 2013-06-06 14:53:46 UTC
A heap-based buffer overflow flaw was found in the way Exclusive Canonicalization PrefixList attribute content processing functionality of Apache Santuario-C++ (AKA xml-security-c), a C++ language implementation of W3C security standards for XML, used to manage internal buffers in certain circumstances. A remote attacker could provide a XML file with specially-crafted value of the PrefixList attribute to an application linked against xml-security-c performing Exclusive Canonicalization-based XML verification that, when processed would lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application.

Upstream advisory:
[1] http://santuario.apache.org/secadv.data/CVE-2013-2156.txt

Relevant patch:
[2] http://svn.apache.org/viewvc?view=revision&revision=1493961

Acknowledgements:

Red Hat would like to thank Scott Cantor of Apache Santuario-C++ upstream for reporting of this issue. Upstream acknowledges James Forshaw of Context Information Security as the original issue reporter.

Comment 2 Jan Lieskovsky 2013-06-06 14:56:45 UTC
This issue affects the versions of the xml-security-c package, as shipped with Fedora release of 17 and 18.

--

This issue affects the versions of the xml-security-c package, as shipped with Fedora EPEL-5 and Fedora EPEL-6.

Comment 3 Huzaifa S. Sidhpurwala 2013-06-18 04:19:47 UTC
Public via:

http://santuario.apache.org/secadv.data/CVE-2013-2156.txt

Comment 4 Huzaifa S. Sidhpurwala 2013-06-18 04:24:56 UTC
Created xml-security-c tracking bugs for this issue

Affects: fedora-all [bug 975304]
Affects: epel-all [bug 975305]