Red Hat Security Advisory: EAP Continuous Delivery Technical Preview Release 14 security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2017-7465 — JBoss: JAXP in EAP 7.0 allows RCE via XSL CVE-2017-7503 — EAP: XXE issue in TransformerFactory
🎯 Affected products1
- EAP-CD 14 Tech Preview
✅ Remediation
Before applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. You must restart the JBoss server process for the update to take effect. The References section of this erratum contains a download link (you must log in to download the update) Workaround: Doing a transform in JAXP requires the use of a 'javax.xml.transform.TransformerFactory'. If the FEATURE_SECURE_PROCESSING feature is set to 'true', it mitigates this vulnerability. Eg: TransformerFactory factory = TransformerFactory.newInstance(); factory.setFeature(javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING, true); Workaround: This issue affects processing of XML content from an untrusted source using a javax.xml.transform.TransformerFactory. The only safe way to process untrusted XML content with a TransformerFactory is to use the StAX API. StAX is a safe implementation on EAP 7.0.x because the XML content is not read in it's entirety in order to parse it. As a developer using StAX, you decide which XML stream events you want to react to, so XXE control constructs won't be processed automatically by the parser.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2020:2563
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=distributions&product=eap-cd&version=14
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1439980
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1451960
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2563.json