8.8

CVE-2022-31115: amazon opensearch Deserialization of Untrusted Data

CVSS: 8.8v3.1HighModified
AliasesGHSA-977c-63xq-cgw3
Published 30-06-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-31115 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in amazon opensearch. EPSS estimates a 1.62% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 30-06-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.62%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

0.00 pp

From 1.62% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.62%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (staaldraad.github.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Amazon1 product
Opensearch-project1 product
RubyGems1 product
  • opensearch-ruby≥ 2.0.0, < 2.0.2

3 vendors · 3 products

References

9 links