Bug 1551525 (CVE-2017-12627) - CVE-2017-12627 xerces-c: Null pointer dereference while processing the path to DTD allows denial of service
Summary: CVE-2017-12627 xerces-c: Null pointer dereference while processing the path t...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-12627
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: 1551526 1551527 1551528 1551529 1551530 1552420 1552421
Blocks: 1551531
TreeView+ depends on / blocked
 
Reported: 2018-03-05 10:56 UTC by Adam Mariš
Modified: 2021-10-21 19:55 UTC (History)
11 users (show)

Fixed In Version: xerces-c 3.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-21 19:55:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-03-05 10:56:34 UTC
The Xerces-C XML parser mishandles certain kinds of external DTD references, resulting in dereference of a NULL pointer while processing the path to the DTD. The bug allows for a denial of service attack in applications that allow DTD processing and do not prevent external DTD usage, and could conceivably result in remote code execution.

Upstream patch:

https://svn.apache.org/viewvc?view=revision&revision=1819998

External References:

https://xerces.apache.org/xerces-c/secadv/CVE-2017-12627.txt

Comment 1 Adam Mariš 2018-03-05 10:56:50 UTC
Created xerces-c tracking bugs for this issue:

Affects: fedora-all [bug 1551527]


Created xerces-c27 tracking bugs for this issue:

Affects: fedora-all [bug 1551526]


Created mingw-xerces-c tracking bugs for this issue:

Affects: fedora-all [bug 1551528]


Created xerces-c tracking bugs for this issue:

Affects: epel-6 [bug 1551530]

Comment 4 Doran Moppert 2018-03-07 01:58:40 UTC
Statement:

Red Hat Enterprise MRG and MRG-Messaging are currently in Maintenance phase. This issue has been rated as having Moderate security impact, and is not currently planned to be addressed in future releases of MRG or MRG-Messaging.  For more information, refer to the Issue Severity Classification and the Life Cycle and Update Policies:

https://access.redhat.com/security/updates/classification
https://access.redhat.com/support/policy/update_policies/

Comment 5 Doran Moppert 2018-03-07 01:58:49 UTC
Mitigation:

Applications should strongly consider blocking remote entity resolution and/or outright disabling of DTD processing in light of the continued identification of bugs in this area of the library.


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