CVE-2021-4138 Server-side request forgery in geckodriver
GeckoDriver failed to validate Host headers, allowing attackers to bypass restrictions and potentially access internal resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-4138?
CVE-2021-4138 is a medium-severity server-side request forgery vulnerability in Mozilla geckodriver, published on 2 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improved Host header checks to reject requests not sent to a well-known local hostname or IP, or the server-specified hostname.
Which versions are affected by CVE-2021-4138?
It affects 1 product.
Products include Mozilla Geckodriver.
How do I fix CVE-2021-4138?
No fix has been published for CVE-2021-4138 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-4138 being exploited?
There is no known exploitation of CVE-2021-4138 in the wild and no public exploit code.
Other vulnerabilities in Mozilla geckodriver
Sources
Also known as GHSA-2h28-m3qw-8www.