CVE-2021-37940 Server-side request forgery in Enterprisesearch

Medium 6.8 Published Updated

A malicious admin can exploit an SSRF vulnerability in the GitHub Enterprise Server integration to view non-public hosts, requiring specific integration configuration.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-37940?

CVE-2021-37940 is a medium-severity server-side request forgery vulnerability in Elastic Enterprisesearch, published on 7 Dec 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-918

Which versions are affected by CVE-2021-37940?

It affects 1 product.

Products include Elastic Enterprise Search.

How do I fix CVE-2021-37940?

No fix has been published for CVE-2021-37940 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2021-37940 being exploited?

There is no known exploitation of CVE-2021-37940 in the wild and no public exploit code.

Sources

Also known as GHSA-xj2x-h5m7-w8gv.

Is CVE-2021-37940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free