SCA: security update for opensearch-ruby (GHSA-977c-63xq-cgw3)

high Tenable Cloud Security Plugin ID 413100

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-31115)

See Also

https://github.com/advisories/GHSA-977c-63xq-cgw3

Plugin Details

Severity: High

ID: 413100

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-31115

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/5/2022

Vulnerability Publication Date: 6/30/2022

Reference Information

CVE: CVE-2022-31115

cwe: CWE-502