Bug 955375 (CVE-2013-4549) - CVE-2013-4549 QtXML: XML entity expansion denial of service
Summary: CVE-2013-4549 QtXML: XML entity expansion denial of service
Alias: CVE-2013-4549
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 955255 1076295 1076296
Blocks: 955378
TreeView+ depends on / blocked
Reported: 2013-04-22 22:35 UTC by Vincent Danen
Modified: 2021-02-17 07:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-01-20 18:08:44 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
KDE Software Compilation 311680 0 None None None Never
Qt Bug Tracker QTBUG-29019 0 None None None Never

Description Vincent Danen 2013-04-22 22:35:45 UTC
Florian Weimer of the Red Hat Product Security Team reported that tSoapMessage::setContent(const QByteArray &) does not initialize the QDomDocument object it uses for XML parsing in such a way that entity expansion does not occur.  At the very least, this results in a denial of service vulnerability because this function is used to parse XML data received over the network.

Comment 2 Tomas Hoger 2013-04-24 12:33:32 UTC
BZ references old Qt tracker as "Qt Bug Tracker", so references added by Florian should be:


Comment 6 Florian Weimer 2013-04-30 09:26:35 UTC
Furthermore, QtXml has an XML spec compliance issue which causes it to accept this document (well, it tries its best at it):


See <http://www.w3.org/TR/REC-xml/#sec-prolog-dtd>:

Well-formedness constraint: PEs in Internal Subset

In the internal DTD subset, parameter-entity references MUST NOT occur within markup declarations; they may occur where markup declarations can occur. (This does not apply to references that occur in external parameter entities or to the external subset.)

Comment 10 Red Hat Bugzilla 2013-10-04 00:22:57 UTC
Removing external tracker bug with the id '29019' as it is not valid for this tracker

Comment 11 Florian Weimer 2013-11-05 12:38:38 UTC
Semi-public via: https://codereview.qt-project.org/70345

Comment 14 Florian Weimer 2013-12-16 17:52:49 UTC
This is now public via:


Comment 16 Murray McAllister 2014-03-14 03:38:20 UTC
Created qtsoap tracking bugs for this issue:

Affects: fedora-all [bug 1076295]
Affects: epel-6 [bug 1076296]

Comment 18 Vincent Danen 2015-01-20 18:08:32 UTC

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

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