{"id":"CVE-2021-22140","aliases":[],"summary":"Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawler beta feature.","published_at":"2021-04-27T00:00:00Z","modified_at":"2026-08-04T16:54:13Z","products":[],"rating":{"severity":"critical","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01269999984651804,"percentile":0.7042499780654907,"date":"2026-11-19T00:00:00Z"},"priority":11.3,"details":"Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawler beta feature. Using this vector, an attacker whose website is being crawled by App Search could craft a malicious sitemap.xml to traverse the filesystem of the host running the instance and obtain sensitive files.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Elastic/Elastic App Search","versions":["after 7.11.0 and before 7.12.0"],"provider":"cvelistv5","source":"CVE-2021-22140","relation":"self"},{"ecosystem":"NVD","package":"elastic:elastic_app_search","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.11.0"},{"fixed":"7.12.0"}]}],"fixed":["7.12.0"],"provider":"nvd","source":"CVE-2021-22140","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 6","cpe":"cpe:/a:redhat:jboss_data_grid:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6","cpe":"cpe:/a:redhat:jboss_fuse:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse Service Works 6","cpe":"cpe:/a:redhat:jboss_fuse_service_works:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["openshift3/ose-logging-elasticsearch5"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-logging-elasticsearch5","openshift4/ose-logging-elasticsearch6","openshift4/ose-metering-presto"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 10 (Newton)","cpe":"cpe:/a:redhat:openstack:10","status":"not_affected","packages":["python-elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["python-elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-22140","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-22140","license":"CC-BY-4.0","published_at":"2021-05-13T17:35:20Z","modified_at":"2024-08-03T18:30:23.96Z","summary":"Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawler beta feature.","details":"Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawler beta feature. Using this vector, an attacker whose website is being crawled by App Search could craft a malicious sitemap.xml to traverse the filesystem of the host running the instance and obtain sensitive files.","severity":[],"affected":[{"ecosystem":"CVE","package":"Elastic/Elastic App Search","versions":["after 7.11.0 and before 7.12.0"],"provider":"cvelistv5","source":"CVE-2021-22140","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/7-12-1-security-update/271433"}]},{"provider":"nvd","source_id":"CVE-2021-22140","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22140","severity":[],"affected":[{"ecosystem":"NVD","package":"elastic:elastic_app_search","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.11.0"},{"fixed":"7.12.0"}]}],"fixed":["7.12.0"],"provider":"nvd","source":"CVE-2021-22140","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2021-22140","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-22140","license":"CC-BY-4.0","published_at":"2021-04-27T00:00:00Z","modified_at":"2026-08-04T16:54:13Z","summary":"Search: App Search XML External Entity Injection","details":"A flaw was found in Elastic Enterprise Search. An attacker, using an XML External Entity Injection (XXE) issue in the App Search web crawler, could craft a malicious sitemap.xml allowing the crawler to traverse the filesystem of the host running the instance and obtain sensitive files. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","source":"CVE-2021-22140"},{"type":"Red Hat","score":"Important","source":"CVE-2021-22140"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 6","cpe":"cpe:/a:redhat:jboss_data_grid:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6","cpe":"cpe:/a:redhat:jboss_fuse:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse Service Works 6","cpe":"cpe:/a:redhat:jboss_fuse_service_works:6","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["openshift3/ose-logging-elasticsearch5"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-logging-elasticsearch5","openshift4/ose-logging-elasticsearch6","openshift4/ose-metering-presto"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 10 (Newton)","cpe":"cpe:/a:redhat:openstack:10","status":"not_affected","packages":["python-elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"not_affected","packages":["elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["python-elasticsearch"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-22140"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22140.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-22140"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955289"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-22140"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22140"},{"type":"WEB","url":"https://discuss.elastic.co/t/7-12-1-security-update/271433"}]}],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/7-12-1-security-update/271433"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22140.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-22140"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955289"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-22140"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22140"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-22140","url":"https://www.cve.org/CVERecord?id=CVE-2021-22140","license":"CC-BY-4.0","modified_at":"2024-08-03T18:30:23.96Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-22140","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22140","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-22140","url":"https://access.redhat.com/security/cve/CVE-2021-22140","license":"CC-BY-4.0","modified_at":"2026-08-04T16:54:13Z","relation":"self"}]}
