GHSA-8wx3-324g-w4qq OpenSearch uncontrolled resource consumption
Unauthenticated attackers can crash OpenSearch nodes via malformed HTTP requests, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-8wx3-324g-w4qq?
GHSA-8wx3-324g-w4qq is a denial of service vulnerability in org.opensearch.plugin:opensearch-security, published on 17 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
An issue has been identified with how OpenSearch handled incoming requests on the HTTP layer. An unauthenticated user could force an OpenSearch node to exit with an OutOfMemory error by sending a moderate number of malformed HTTP requests.
The issue was identified by Elastic Engineering and corresponds to security advisory ESA-2023-13 (CVE-2023-31418).
Mitigation
Versions 1.3.14 and 2.11.0 contain a fix for this issue.
For more information
If you have any questions or comments about this advisory, please contact AWS/Amazon Security via our issue reporting page (https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [email protected]. Please do not create a public GitHub issue.
Which versions are affected by GHSA-8wx3-324g-w4qq?
4 open source packages ship an affected version, including org.opensearch.plugin:opensearch-security.
| Package | Affected | Fixed in |
|---|---|---|
org.opensearch.plugin:opensearch-security Maven | All versions | 1.3.14.0 |
org.opensearch.plugin:opensearch-security Maven | All versions | 1.3.14.0 |
org.opensearch.plugin:opensearch-security Maven | From 2.0.0.0 | 2.11.0.0 |
org.opensearch.plugin:opensearch-security Maven | From 2.0.0.0 | 2.11.0.0 |
How do I fix GHSA-8wx3-324g-w4qq?
Upgrade org.opensearch.plugin:opensearch-security to a fixed version for your release line: 1.3.14.0 or 2.11.0.0.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-8wx3-324g-w4qq being exploited?
There is no known exploitation of GHSA-8wx3-324g-w4qq in the wild and no public exploit code.