{"api_version":"1","generated_at":"2026-04-23T09:40:20+00:00","cve":"CVE-2021-37940","urls":{"html":"https://cve.report/CVE-2021-37940","api":"https://cve.report/api/cve/CVE-2021-37940.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37940","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37940"},"summary":{"title":"CVE-2021-37940","description":"An information disclosure via GET request server-side request forgery vulnerability was discovered with the Workplace Search Github Enterprise Server integration. Using this vulnerability, a malicious Workplace Search admin could use the GHES integration to view hosts that might not be publicly accessible.","state":"PUBLIC","assigner":"security@elastic.co","published_at":"2021-12-07 19:15:00","updated_at":"2021-12-09 19:24:00"},"problem_types":["CWE-918"],"metrics":[],"references":[{"url":"https://discuss.elastic.co/t/enterprise-search-7-16-0-security-update/291146","name":"https://discuss.elastic.co/t/enterprise-search-7-16-0-security-update/291146","refsource":"MISC","tags":[],"title":"Enterprise Search 7.16.0 Security Update - Security Announcements - Discuss the Elastic Stack","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-37940","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37940","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"37940","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"elastic","cpe5":"enterprise_search","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_format":"MITRE","data_type":"CVE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2021-37940","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Elastic","product":{"product_data":[{"product_name":"Enterprisesearch","version":{"version_data":[{"version_value":"before 7.16.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-918"}]}]},"references":{"reference_data":[{"url":"https://discuss.elastic.co/t/enterprise-search-7-16-0-security-update/291146","refsource":"MISC","name":"https://discuss.elastic.co/t/enterprise-search-7-16-0-security-update/291146"}]},"description":{"description_data":[{"lang":"eng","value":"An information disclosure via GET request server-side request forgery vulnerability was discovered with the Workplace Search Github Enterprise Server integration. Using this vulnerability, a malicious Workplace Search admin could use the GHES integration to view hosts that might not be publicly accessible."}]}},"nvd":{"publishedDate":"2021-12-07 19:15:00","lastModifiedDate":"2021-12-09 19:24:00","problem_types":["CWE-918"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:elastic:enterprise_search:*:*:*:*:*:*:*:*","versionEndExcluding":"7.16.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"37940","Ordinal":"213543","Title":"CVE-2021-37940","CVE":"CVE-2021-37940","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"37940","Ordinal":"1","NoteData":"An information disclosure via GET request server-side request forgery vulnerability was discovered with the Workplace Search Github Enterprise Server integration. Using this vulnerability, a malicious Workplace Search admin could use the GHES integration to view hosts that might not be publicly accessible.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"37940","Ordinal":"2","NoteData":"2021-12-07","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"37940","Ordinal":"3","NoteData":"2021-12-07","Type":"Other","Title":"Modified"}]}}}