Bug 1159552 (CVE-2018-1311) - VUL-0: CVE-2018-1311: xerces-c: the XML parser contains a use-after-free triggered during the scanning of external DTDs potentially leading to DOS
Summary: VUL-0: CVE-2018-1311: xerces-c: the XML parser contains a use-after-free trig...
Status: RESOLVED FIXED
Alias: CVE-2018-1311
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/249309/
Whiteboard: CVSSv3.1:SUSE:CVE-2018-1311:8.1:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 13:22 UTC by Alexandros Toptsoglou
Modified: 2024-05-10 13:53 UTC (History)
7 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2019-12-19 13:22:10 UTC
CVE-2018-1311

The Apache Xerces-C 3.0.0 to 3.2.2 XML parser contains a use-after-free error
triggered during the scanning of external DTDs. This flaw has not been addressed
in the maintained version of the library and has no current mitigation other
than to disable DTD processing. This can be accomplished via the DOM using a
standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment
variable.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1311
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1311
https://marc.info/?l=xerces-c-users&m=157653840106914&w=2
Comment 1 Tomáš Chvátal 2020-01-02 08:34:05 UTC
https://issues.apache.org/jira/browse/XERCESC-2188

^ I don't see any progress upstream on this issue yet.
Comment 2 Danilo Spinella 2021-07-14 16:24:17 UTC
Still no progress. Should I try and fix it or is it okay to leave it like this until upstream provides a patch?
Comment 3 Marcus Meissner 2021-08-09 15:03:01 UTC
not sure .. we rated it important, but a good fix seems hard
Comment 4 Danilo Spinella 2021-08-23 10:33:37 UTC
There is a patch from RedHat that fixes this CVE, at the cost of a memory leak.

https://salsa.debian.org/bblough/xerces-c/-/blob/debian/master/debian/patches/CVE-2018-1311-mitigation.patch
Comment 6 Danilo Spinella 2021-08-23 16:48:49 UTC
SLES15-SP3 has version 3.2.3, so it shouldn't be affected.
Comment 7 Swamp Workflow Management 2021-09-02 13:31:18 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2920-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    xerces-c-3.1.4-3.6.1
SUSE Manager Retail Branch Server 4.0 (src):    xerces-c-3.1.4-3.6.1
SUSE Manager Proxy 4.0 (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise Server for SAP 15 (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise Server 15-LTSS (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    xerces-c-3.1.4-3.6.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    xerces-c-3.1.4-3.6.1
SUSE Enterprise Storage 6 (src):    xerces-c-3.1.4-3.6.1
SUSE CaaS Platform 4.0 (src):    xerces-c-3.1.4-3.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2021-09-03 13:36:05 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2944-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
JIRA References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    xerces-c-3.1.1-13.6.1
SUSE Linux Enterprise Server 12-SP5 (src):    xerces-c-3.1.1-13.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Swamp Workflow Management 2021-09-06 13:19:12 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2958-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    xerces-c-3.1.4-10.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Swamp Workflow Management 2021-09-06 13:20:17 UTC
# maintenance_jira_update_notice
openSUSE-SU-2021:2958-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    xerces-c-3.1.4-10.3.1
Comment 11 Swamp Workflow Management 2021-09-06 16:19:33 UTC
# maintenance_jira_update_notice
openSUSE-SU-2021:1231-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    xerces-c-3.1.4-lp152.5.3.1
Comment 13 OBSbugzilla Bot 2023-12-27 13:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1159552) was mentioned in
https://build.opensuse.org/request/show/1135297 Factory / xerces-c
Comment 14 Danilo Spinella 2024-01-19 16:14:53 UTC
I went back and updated all the fixes in SLE to the proper one provided by upstream.
Comment 16 Maintenance Automation 2024-02-01 16:30:13 UTC
SUSE-SU-2024:0300-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
Sources used:
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): xerces-c-3.1.4-150200.10.11.1
SUSE Enterprise Storage 7.1 (src): xerces-c-3.1.4-150200.10.11.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Maintenance Automation 2024-02-01 16:30:15 UTC
SUSE-SU-2024:0299-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): xerces-c-3.1.1-13.12.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): xerces-c-3.1.1-13.12.1
SUSE Linux Enterprise Server 12 SP5 (src): xerces-c-3.1.1-13.12.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): xerces-c-3.1.1-13.12.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 18 Maintenance Automation 2024-02-02 16:30:14 UTC
SUSE-SU-2024:0320-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1159552
CVE References: CVE-2018-1311
Sources used:
openSUSE Leap 15.3 (src): xerces-c-3.2.3-150300.3.6.1
openSUSE Leap 15.5 (src): xerces-c-3.2.3-150300.3.6.1
Basesystem Module 15-SP5 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Manager Proxy 4.3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Manager Retail Branch Server 4.3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Manager Server 4.3 (src): xerces-c-3.2.3-150300.3.6.1
SUSE Enterprise Storage 7.1 (src): xerces-c-3.2.3-150300.3.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 21 Davide Benini 2024-03-07 12:01:18 UTC
SUSE Linux Enterprise Server 12 SP2 PTF published at https://bugzilla.suse.com/show_bug.cgi?id=1221037