Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. opensearch
  4. ›
  5. CVE-2023-31141

CVE-2023-31141: Incorrect Authorization

May 8, 2023 (updated May 15, 2023)

OpenSearch is open-source software suite for search, analytics, and observability applications. Prior to versions 1.3.10 and 2.7.0, there is 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 potentially leading to incorrect access authorization. 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. OpenSearch 1.3.10 and 2.7.0 contain a fix for this issue.

References

  • github.com/opensearch-project/security/security/advisories/GHSA-g8xc-6mf7-h28h
  • nvd.nist.gov/vuln/detail/CVE-2023-31141

Code Behaviors & Features

Detect and mitigate CVE-2023-31141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.10, all versions starting from 2.0.0 before 2.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

gem/opensearch/CVE-2023-31141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.