CVE-2022-41917 Incorrect Error Handling Allowed Partial File Reads Over REST API in OpenSearch

Medium 4.3 Published Updated

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.

Weakness: CWE-755, CWE-200

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.

Sources

Also known as GHSA-w3rx-m34v-wrqx.

Is CVE-2022-41917 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free