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

CVE-2022-41917: Exposure of Sensitive Information to an Unauthorized Actor

November 16, 2022 (updated July 10, 2023)

OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. OpenSearch allows users to specify a local file when defining text analyzers to process data for text analysis. An issue in the implementation of this feature allows certain specially crafted queries to return a response containing the first line of text from arbitrary files. The list of potentially impacted files is limited to text files with read permissions allowed in the Java Security Manager policy configuration. OpenSearch version 1.3.7 and 2.4.0 contain a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.

References

  • github.com/opensearch-project/OpenSearch/commit/6d20423f5920745463b1abc5f1daf6a786c41aa0
  • github.com/opensearch-project/OpenSearch/security/advisories/GHSA-w3rx-m34v-wrqx
  • nvd.nist.gov/vuln/detail/CVE-2022-41917

Code Behaviors & Features

Detect and mitigate CVE-2022-41917 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 starting from 1.0.0 before 1.3.7, all versions starting from 2.0.0 before 2.4.0

Fixed versions

  • 1.3.7
  • 2.4.0

Solution

Upgrade to versions 1.3.7, 2.4.0 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-755: Improper Handling of Exceptional Conditions

Source file

gem/opensearch/CVE-2022-41917.yml

Spotted a mistake? Edit the file on GitLab.

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

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