Lucene search

K
rubygemsRubySecRUBY:OPENSEARCH-RUBY-2022-31115
HistoryJul 04, 2022 - 9:00 p.m.

Unsafe YAML deserialization in opensearch-ruby

2022-07-0421:00:00
RubySec
github.com
9
yaml deserialization
opensearch-ruby
security patch
version 2.0.2
unsafe deserialization
software vulnerability

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.003

Percentile

70.2%

Impact

A YAML deserialization in opensearch-ruby 2.0.0 can lead to unsafe deserialization using
YAML.load if the response is of type YAML.

Patches

The problem has been patched in opensearch-ruby gem version 2.0.2.

Workarounds

No viable workaround. Please upgrade to 2.0.2

Affected configurations

Vulners
Node
rubyopensearch-rubyRange2.0.2
VendorProductVersionCPE
rubyopensearch-ruby*cpe:2.3:a:ruby:opensearch-ruby:*:*:*:*:*:*:*:*

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.003

Percentile

70.2%

Related for RUBY:OPENSEARCH-RUBY-2022-31115