Incorrect Authorization Affecting org.opensearch.plugin:opensearch-security package, versions [2.0.0,2.7.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENSEARCHPLUGIN-5507302
  • published10 May 2023
  • disclosed9 May 2023
  • creditUnknown

Introduced: 9 May 2023

CVE-2023-31141  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade org.opensearch.plugin:opensearch-security to version 2.7.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to an issue with the implementation of fine-grained access control rules (document-level security, field-level security and field masking) where they are not correctly applied to the queries during extremely rare race conditions.

Note: For this issue to be triggered, two concurrent requests need to land on the same instance exactly when query cache eviction happens, once every four hours.

References

CVSS Scores

version 3.1