Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-41917 EUVD-2022-45047

Incorrect Error Handling Allowed Partial File Reads Over REST API in OpenSearch

Published Nov 15, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
opensearch-project OpenSearch < 1.3.7, >= 2.0.0, < 2.4.0 —

References