CVE-2022-41917
JSON

4.3medium

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

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.73% (higher than 50% of CVEs)
Published
Last changed
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

Product or packageVersionsReported by
opensearch-project OpenSearch< 1.3.7, >= 2.0.0, < 2.4.0CVE List
amazon opensearchfrom 1.0.0 before 1.3.7, from 2.0.0 before 2.4.0NVD

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200CWE-755

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OpenSearch es un fork de código abierto impulsada por la comunidad de Elasticsearch y Kibana. OpenSearch permite a los usuarios especificar un archivo local al definir analizadores de texto para procesar datos para el análisis de texto. Un problema en la implementación de esta característica permite que ciertas consultas especialmente manipuladas devuelvan una respuesta que contiene la primera línea de texto de archivos arbitrarios. La lista de archivos potencialmente afectados se limita a archivos de texto con permisos de lectura permitidos en la configuración de políticas de Java Security Manager. Las versiones 1.3.7 y 2.4.0 de OpenSearch contienen una solución para este problema. Se recomienda a los usuarios que actualicen. No se conocen workarounds para este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-41917 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-41917 changed 2026-06-17Public domain