Bug 2104676 (CVE-2022-2414)

Summary: CVE-2022-2414 pki-core: access to external entities when parsing XML can lead to XXE
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abokovoy, alee, alexander.m.scheel, cdorney, cfu, ckelley, dsirrine, edewata, fredrik.eriksson, jmagne, kwright, mharmsen, mkdineshprasanth, prisingh, rhcs-maint, security-response-team, skhandel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pki-core 10.5.19, pki-core 10.7.5, pki-core 10.8.4, pki-core 10.11.3, pki-core 10.12.5, pki-core 11.0.6, pki-core 11.1.1, pki-core 11.2.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in pki-core. Access to external entities when parsing XML documents can lead to XML external entity (XXE) attacks. This flaw allows a remote attacker to potentially retrieve the content of arbitrary files by sending specially crafted HTTP requests.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-31 21:13: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: 2107325, 2107326, 2107327, 2107328, 2107329, 2107330, 2107331, 2107332, 2107333, 2107334, 2107335, 2107336, 2107351, 2110144, 2110145, 2184513    
Bug Blocks: 2095392    

Description Mauro Matteo Cascella 2022-07-06 20:35:55 UTC
A flaw was found in pki-core. Access to external entities when parsing XML documents can lead to XML external entity (XXE) attacks. A remote attacker could potentially use this flaw to retrieve the content of arbitrary files by sending specially crafted HTTP requests.

Upstream PR:
https://github.com/dogtagpki/pki/pull/4021

Upstream commit:
https://github.com/dogtagpki/pki/commit/4e893243d72ad766558c10c907841f5f9c047055

Comment 2 Mauro Matteo Cascella 2022-07-14 19:02:27 UTC
Created dogtag-pki tracking bugs for this issue:

Affects: fedora-all [bug 2107351]

Comment 11 errata-xmlrpc 2022-11-02 14:34:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:7326 https://access.redhat.com/errata/RHSA-2022:7326

Comment 12 errata-xmlrpc 2022-11-08 09:13:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7470 https://access.redhat.com/errata/RHSA-2022:7470

Comment 13 errata-xmlrpc 2022-12-06 07:43:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2022:8799 https://access.redhat.com/errata/RHSA-2022:8799

Comment 14 errata-xmlrpc 2022-12-12 08:51:53 UTC
This issue has been addressed in the following products:

  Red Hat Certificate System 9.7

Via RHSA-2022:8915 https://access.redhat.com/errata/RHSA-2022:8915

Comment 15 errata-xmlrpc 2023-04-12 18:16:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.2 Telecommunications Update Service

Via RHSA-2023:1747 https://access.redhat.com/errata/RHSA-2023:1747

Comment 16 errata-xmlrpc 2023-04-25 08:34:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Extended Update Support

Via RHSA-2023:1966 https://access.redhat.com/errata/RHSA-2023:1966

Comment 17 errata-xmlrpc 2023-05-31 15:53:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:3394 https://access.redhat.com/errata/RHSA-2023:3394

Comment 18 Product Security DevOps Team 2023-05-31 21:13:49 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2414