Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-31115

28
FAUCET Score

CVE-2022-31115 is an unsafe deserialization vulnerability in opensearch-ruby versions 2.0.0 and prior, affecting the Amazon OpenSearch client library. It arises from the use of YAML.load instead of YAML.safe_load when processing YAML responses. This vulnerability carries a CVSS score of 8.8 (HIGH), indicating a critical risk. An attacker must control an OpenSearch server and trick a victim into connecting to it, leading to high impact on confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion regarding this vulnerability. Users are advised to upgrade to opensearch-ruby gem version 2.0.1 to mitigate the risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.0.2CPE matchmatch criteria
cpe:2.3:a:amazon:opensearch:*:*:*:*:*:ruby:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.54%
Probability of exploitation in next 30 days
EPSS Percentile
72.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0154 is in the 71st percentile among its peer group of 14,875 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
rubygemspatch availablevia ghsa
Product: opensearch-rubyFixed in: 2.0.2

Vendor Advisories (1)

rubygemsGHSA-977c-63xq-cgw3high

opensearch-ruby 2.x before 2.0.2 vulnerable to unsafe YAML deserialization

Jul 5, 2022

References

github.com / opensearch-project/opensearch-ruby/pull/77
PatchThird Party Advisory
github.com / opensearch-project/opensearch-ruby/security/advisories/GHSA-977c-63xq-cgw3
Third Party Advisory
staaldraad.github.io / post/2021-01-09-universal-rce-ruby-yaml-load-updated
ExploitThird Party Advisory