Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31115— Unsafe YAML deserialization in opensearch-ruby

Quick assessment

Affected
opensearch-project opensearch-ruby
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

opensearch-ruby是opensearch-project开源的一个用于 OpenSearch 的 Ruby 客户端。 opensearch-ruby存在代码问题漏洞,该漏洞源于在 2.0.1 之前的版本中,使用 ruby 函数而不是 。因此,如果响应是 YAML 类型,opensearch-ruby 2.0.0 和之前的版本可能会导致使用 YAML.load 进行不安全的反序列化。 攻击者必须控制一个 opensearch 服务器并说服受

CVSS 8.8 · High EPSS 1.62% · P75

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31115

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unsafe YAML deserialization in opensearch-ruby
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
opensearch-ruby 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
opensearch-ruby是opensearch-project开源的一个用于 OpenSearch 的 Ruby 客户端。 opensearch-ruby存在代码问题漏洞,该漏洞源于在 2.0.1 之前的版本中,使用 ruby `YAML.load` 函数而不是 `YAML.safe_load`。因此,如果响应是 YAML 类型,opensearch-ruby 2.0.0 和之前的版本可能会导致使用 YAML.load 进行不安全的反序列化。 攻击者必须控制一个 opensearch 服务器并说服受
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
opensearch-project opensearch-ruby < 2.0.1 -

II. Public POCs for CVE-2022-31115

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31115

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-31115 (1)

Vendor Advisories for CVE-2022-31115 (1)

Security Blog Posts for CVE-2022-31115 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31115

No comments yet


Leave a comment