{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2414 exists.","fix":"Apply the vendor's patch.","what":"CVE-2022-2414 is a high-severity vulnerability in Dogtag PKI, published on 29 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2414 and fix it if it is affected.\n\nWhat it is: CVE-2022-2414 is a high-severity vulnerability in Dogtag PKI, published on 29 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2414 exists.\n\nAffected product: Dogtag PKI. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-2414/ (Markdown: https://insights.sbomify.com/CVE-2022-2414/index.md)","id":"CVE-2022-2414","markdown":"https://insights.sbomify.com/CVE-2022-2414/index.md","name":"CVE-2022-2414","record":{"aliases":["ALSA-2022:7326","ALSA-2022:7470","DEBIAN-CVE-2022-2414","GHSA-vjf8-hc3f-mpw4","OESA-2023-1417","OESA-2023-1418","OESA-2023-1419","RHSA-2022:7326","RHSA-2022:7470","RHSA-2022:8799","RHSA-2022:8915","RHSA-2023:1747","RHSA-2023:1966","RLSA-2022:7326","RLSA-2022:7470","UBUNTU-CVE-2022-2414"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Dogtag PKI","requires_auth":"none","summary":"Remote attackers can retrieve arbitrary file contents via XML External Entity attacks in Dogtag PKI, requiring immediate patching.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"dogtagpki","vendor":"dogtagpki"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:certificate_system:9.7::el7","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_tus:8.2::appstream","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2022-08-18","github_poc":4,"max_poc_stars":10,"metasploit":0,"nuclei":1,"refs":[{"date":"2022-12-06T14:37:08Z","kind":"github_poc","ref":"https://github.com/amitlttwo/CVE-2022-2414-Proof-Of-Concept","stars":10,"title":"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."},{"date":"2024-10-07T15:36:39Z","kind":"github_poc","ref":"https://github.com/geniuszly/CVE-2022-2414","stars":3,"title":"is a PoC script for demonstrating an XML External Entity (XXE) vulnerability exploitation"},{"date":"2022-08-18T19:58:53Z","kind":"github_poc","ref":"https://github.com/superhac/CVE-2022-2414-POC","stars":1,"title":null},{"date":"2023-10-05T07:55:01Z","kind":"github_poc","ref":"https://github.com/satyasai1460/CVE-2022-2414","stars":0,"title":"CVE-2022-2414 POC"},{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-2414.yaml","stars":null,"title":"FreeIPA - XML Entity Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"XML external entity in Dogtag PKI","id":"CVE-2022-2414","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xxe","year":"2022"},"n_packages":215,"n_references":1,"next":{"headline":"Memory corruption in Chrome","id":"CVE-2022-2415"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-acme","purl":"pkg:rpm/almalinux/idm-pki-acme","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-base","purl":"pkg:rpm/almalinux/idm-pki-base","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-base-java","purl":"pkg:rpm/almalinux/idm-pki-base-java","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-ca","purl":"pkg:rpm/almalinux/idm-pki-ca","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-kra","purl":"pkg:rpm/almalinux/idm-pki-kra","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-server","purl":"pkg:rpm/almalinux/idm-pki-server","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-symkey","purl":"pkg:rpm/almalinux/idm-pki-symkey","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"idm-pki-tools","purl":"pkg:rpm/almalinux/idm-pki-tools","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["4.23.0-1.module_el8.6.0+2764+9fc58d50"],"introduced":["0"],"last_affected":[],"package":"ldapjdk-javadoc","purl":"pkg:rpm/almalinux/ldapjdk-javadoc","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:8","fixed":["10.12.0-4.module_el8.7.0+3316+50b99934"],"introduced":["0"],"last_affected":[],"package":"python3-idm-pki","purl":"pkg:rpm/almalinux/python3-idm-pki","source":"ALSA-2022:7470"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-acme","purl":"pkg:rpm/almalinux/pki-acme","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-base","purl":"pkg:rpm/almalinux/pki-base","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-base-java","purl":"pkg:rpm/almalinux/pki-base-java","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-ca","purl":"pkg:rpm/almalinux/pki-ca","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-kra","purl":"pkg:rpm/almalinux/pki-kra","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-server","purl":"pkg:rpm/almalinux/pki-server","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-symkey","purl":"pkg:rpm/almalinux/pki-symkey","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"pki-tools","purl":"pkg:rpm/almalinux/pki-tools","source":"ALSA-2022:7326"},{"ecosystem":"AlmaLinux:9","fixed":["11.0.6-2.el9_0"],"introduced":["0"],"last_affected":[],"package":"python3-pki","purl":"pkg:rpm/almalinux/python3-pki","source":"ALSA-2022:7326"},{"ecosystem":"Red Hat:certificate_system:9.7::el7","fixed":["0:10.5.18-24.el7pki"],"introduced":["0"],"last_affected":[],"package":"pki-core","purl":"pkg:rpm/redhat/pki-core","source":"RHSA-2022:8915"},{"ecosystem":"Red Hat:certificate_system:9.7::el7","fixed":["0:10.5.18-24.el7pki"],"introduced":["0"],"last_affected":[],"package":"pki-core-debuginfo","purl":"pkg:rpm/redhat/pki-core-debuginfo","source":"RHSA-2022:8915"},{"ecosystem":"Red Hat:certificate_system:9.7::el7","fixed":["0:10.5.18-24.el7pki"],"introduced":["0"],"last_affected":[],"package":"pki-ocsp","purl":"pkg:rpm/redhat/pki-ocsp","source":"RHSA-2022:8915"},{"ecosystem":"Red Hat:certificate_system:9.7::el7","fixed":["0:10.5.18-24.el7pki"],"introduced":["0"],"last_affected":[],"package":"pki-tks","purl":"pkg:rpm/redhat/pki-tks","source":"RHSA-2022:8915"},{"ecosystem":"Red Hat:certificate_system:9.7::el7","fixed":["0:10.5.18-24.el7pki"],"introduced":["0"],"last_affected":[],"package":"pki-tps","purl":"pkg:rpm/redhat/pki-tps","source":"RHSA-2022:8915"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-base","purl":"pkg:rpm/redhat/pki-base","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-base-java","purl":"pkg:rpm/redhat/pki-base-java","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-ca","purl":"pkg:rpm/redhat/pki-ca","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-core","purl":"pkg:rpm/redhat/pki-core","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-core-debuginfo","purl":"pkg:rpm/redhat/pki-core-debuginfo","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-javadoc","purl":"pkg:rpm/redhat/pki-javadoc","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-kra","purl":"pkg:rpm/redhat/pki-kra","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-server","purl":"pkg:rpm/redhat/pki-server","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-symkey","purl":"pkg:rpm/redhat/pki-symkey","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-tools","purl":"pkg:rpm/redhat/pki-tools","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-base","purl":"pkg:rpm/redhat/pki-base","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-base-java","purl":"pkg:rpm/redhat/pki-base-java","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-ca","purl":"pkg:rpm/redhat/pki-ca","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-core","purl":"pkg:rpm/redhat/pki-core","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-core-debuginfo","purl":"pkg:rpm/redhat/pki-core-debuginfo","source":"RHSA-2022:8799"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:10.5.18-24.el7_9"],"introduced":["0"],"last_affected":[],"package":"pki-javadoc","purl":"pkg:rpm/redhat/pki-javadoc","source":"RHSA-2022:8799"}],"prev":{"headline":"Slide Anything \u003c 2.3.47 - Author+ Cross Site Scripting in slide title","id":"CVE-2022-2413"},"products":["Dogtag PKI"],"published":"2022-07-29","related":[{"cvss_score":8.1,"headline":"Business logic in pki-core","id":"CVE-2021-20179","kev_date_added":null,"published":"2021-03-15"},{"cvss_score":7.8,"headline":"Information disclosure in pki-server","id":"CVE-2021-3551","kev_date_added":null,"published":"2022-02-16"},{"cvss_score":7.5,"headline":"Auth bypass in pki-core","id":"CVE-2018-1080","kev_date_added":null,"published":"2018-07-02"},{"cvss_score":6.8,"headline":"Security feature bypass in n/a","id":"CVE-2020-15720","kev_date_added":null,"published":"2020-07-14"},{"cvss_score":6.1,"headline":"Cross-site scripting in pki-core","id":"CVE-2020-25715","kev_date_added":null,"published":"2021-05-28"},{"cvss_score":6.1,"headline":"Cross-site scripting in pki-core","id":"CVE-2020-1721","kev_date_added":null,"published":"2021-04-30"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Remote attackers can retrieve arbitrary file contents via XML External Entity attacks in Dogtag PKI, requiring immediate patching.","url":"https://insights.sbomify.com/CVE-2022-2414/"}