Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31115

8.8 · HIGH
Published Jun 30, 2022 amazon CWE-502 EPSS 1.57% (74th pctl)

Overview

CVE-2022-31115 is a high-severity vulnerability affecting amazon opensearch. It was published on June 30, 2022 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. In versions prior to 2.0.1 the ruby `YAML.load` function was used instead of `YAML.safe_load`. As a result opensearch-ruby 2.0.0 and prior can lead to unsafe deserialization using YAML.load if the response is of type YAML. An attacker must be in control of an opensearch server and convince the victim to connect to it in order to exploit this vulnerability. The problem has been patched in opensearch-ruby gem version 2.0.1. Users are advised to upgrade. There are no known workarounds for this issue.

Remediation

Check the references section for vendor advisories and patches from amazon. Update opensearch to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
amazon opensearch >= 0, < 2.0.2 Affected

Frequently Asked Questions

What is CVE-2022-31115?

CVE-2022-31115 is a high-severity vulnerability affecting amazon opensearch. It was published on June 30, 2022 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2022-31115?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-31115?

Check the references section for vendor advisories and patches from amazon. Update opensearch to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31115?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31115 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.