CVE-2022-41917 Incorrect Error Handling Allowed Partial File Reads Over REST API in OpenSearch
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Amazon opensearch | >= 1.0.0, < 1.3.7; >= 2.0.0, < 2.4.0 | 1.3.7, 2.4.0 | Fixed |
| opensearch-project OpenSearch | = < 1.3.7; = >= 2.0.0, < 2.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opensearch-project OpenSearch | = < 1.3.7 | No fix listed |
| opensearch-project OpenSearch | = >= 2.0.0, < 2.4.0 | No fix listed |
| Amazon opensearch | >= 1.0.0, < 1.3.7 | 1.3.7 |
| Amazon opensearch | >= 2.0.0, < 2.4.0 | 2.4.0 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory