CVE-2022-41917 Incorrect Error Handling Allowed Partial File Reads Over REST API in OpenSearch
Attackers can read the first line of arbitrary text files via crafted queries in OpenSearch, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-41917?
CVE-2022-41917 is a medium-severity vulnerability in opensearch-project OpenSearch, published on 15 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-41917?
It affects 1 product.
Products include Amazon Opensearch.
How do I fix CVE-2022-41917?
No fix has been published for CVE-2022-41917 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-41917 being exploited?
There is no known exploitation of CVE-2022-41917 in the wild and no public exploit code.
Other vulnerabilities in opensearch-project OpenSearch
- CVE-2022-31115 Unsafe YAML deserialization in opensearch-ruby
- CVE-2025-9624 OpenSearch 3.2.0 - Nested Boolean/Disjunction asymmetric DoS
- CVE-2022-35980 OpenSearch vulnerable to Improper Authorization of Index Containing Sensitive Information
- CVE-2022-41918 Issue with fine-grained access control of indices backing data streams
- CVE-2023-23933 Issue in Anomaly Detection with document and field level rules in numerical feature aggregations
Sources
Also known as GHSA-w3rx-m34v-wrqx.