Bug 1406811 (CVE-2016-8739)

Summary: CVE-2016-8739 apache-cxf: Atom entity provider of Apache CXF JAX-RS is vulnerable to XXE
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, aileenc, alazarot, aszczucz, bbaranow, bdawidow, bmaxwell, cdewolf, chazlett, csutherl, dandread, darran.lofthouse, dmcphers, dosoudil, epp-bugs, etirelli, fnasser, gvarsami, huwang, jason.greene, jawilson, jboss-set, jcoleman, jdg-bugs, jialiu, jokerman, jolee, jpallich, jshepherd, kverlaen, ldimaggi, lgao, lmeyer, mbaluch, mmccomas, mweiler, mwinkler, myarboro, nwallace, pslavice, puntogil, rnetuka, rrajasek, rsvoboda, rwagner, rzhang, soa-p-jira, tcunning, theute, tiwillia, tkirby, ttarrant, twalsh, vtunka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: apache-cxf 3.0.12, apache-cxf 3.1.9 Doc Type: If docs needed, set a value
Doc Text:
Apache CXF JAX-RS implementation provides a number of Atom MessageBodyReaders. These readers use Apache Abdera Parser to parse Atom feeds or Entries, with this Parser expanding XML entities by default. It was found that this represents a major XXE risk.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 11:48:52 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: 1406813    
Bug Blocks: 1406817    

Description Andrej Nemec 2016-12-21 14:34:42 UTC
Apache CXF JAX-RS implementation provides a number of Atom MessageBodyReaders. These readers use Apache Abdera Parser to parse Atom feeds or Entries, with this Parser expanding XML entities by default. This represents a major XXE risk. 

External References:

http://cxf.apache.org/security-advisories.data/CVE-2016-8739.txt.asc?version=1&modificationDate=1482164360575&api=v2

Comment 1 Andrej Nemec 2016-12-21 14:35:32 UTC
Created cxf tracking bugs for this issue:

Affects: fedora-all [bug 1406813]

Comment 5 Jason Shepherd 2016-12-22 05:25:40 UTC
JBoss EAP 6 and 7 implement JAX-RS using Resteasy, not CXF. Therefore the vulnerable AbstractAtomProvider class is not part of either distribution. Setting EAP 6 and 7 layered productgs as not affected.

Comment 6 errata-xmlrpc 2017-04-03 21:03:44 UTC
This issue has been addressed in the following products:



Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868

Comment 7 errata-xmlrpc 2018-07-02 15:51:42 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Fuse

Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868