CVE-2022-35980
JSON

7.5high

OpenSearch vulnerable to Improper Authorization of Index Containing Sensitive Information

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
1.23% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f4qr-f4xx-hjxw

Description

OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. Versions 2.0.0.0 and 2.1.0.0 of the security plugin are affected by an information disclosure vulnerability. Requests to an OpenSearch cluster configured with advanced access control features document level security (DLS), field level security (FLS), and/or field masking will not be filtered when the query's search pattern matches an aliased index. OpenSearch Dashboards creates an alias to `.kibana` by default, so filters with the index pattern of `*` to restrict access to documents or fields will not be applied. This issue allows requests to access sensitive information when customer have acted to restrict access that specific information. OpenSearch 2.2.0, which is compatible with OpenSearch Security 2.2.0.0, contains the fix for this issue. There is no recommended work around.

Affected

Product or packageVersionsReported by
opensearch-project security>= 2.0.0.0, <= 2.1.0.0CVE List
org.opensearch.plugin:opensearch-security (Maven)from 2.0.0.0 before 2.2.0.0GitHub Advisory Database
amazon opensearch2.0.0, 2.1.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-612

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

What each source says

CVE List

OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. Versions 2.0.0.0 and 2.1.0.0 of the security plugin are affected by an information disclosure vulnerability. Requests to an OpenSearch cluster configured with advanced access control features document level security (DLS), field level security (FLS), and/or field masking will not be filtered when the query's search pattern matches an aliased index. OpenSearch Dashboards creates an alias to `.kibana` by default, so filters with the index pattern of `*` to restrict access to documents or fields will not be applied. This issue allows requests to access sensitive information when customer have acted to restrict access that specific information. OpenSearch 2.2.0, which is compatible with OpenSearch Security 2.2.0.0, contains the fix for this issue. There is no recommended work around.

GitHub Advisory Database
Impact

Requests to an OpenSearch cluster configured with advanced access control features (document level security (DLS), field level security (FLS), and/or field masking) will not be filtered when the query's search pattern matches an aliased index.

OpenSearch Dashboards creates an alias to .kibana by default, so filters with the index pattern of * to restrict access to documents or fields will not be applied.

This issue allows requests to access sensitive information when customer have acted to restrict access that specific information.

Patches

OpenSearch 2.2.0+ contains the fix for this issue. OpenSearch Security Plugin 2.2.0.0 is compatible with OpenSearch 2.2.0.

Workarounds

There is no recommended work around.

References

See pull request #1999 for additional details.

For more information

If you have any questions or comments about this advisory we ask that contact AWS/Amazon Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

NVD (es)

OpenSearch Security es un plugin para OpenSearch que ofrece cifrado, autenticación y autorización. Las versiones 2.0.0.0 y 2.1.0.0 del plugin de seguridad están afectadas por una vulnerabilidad de divulgación de información. Las peticiones a un clúster de OpenSearch configurado con las funciones de control de acceso avanzado de seguridad a nivel de documento (DLS), seguridad a nivel de campo (FLS) y/o enmascaramiento de campos no son filtradas cuando el patrón de búsqueda de la consulta coincida con un índice de alias. OpenSearch Dashboards crea un alias a ".kibana" por defecto, por lo que los filtros con el patrón de índice de "*" para restringir el acceso a documentos o campos no serán aplicados. Este problema permite que las peticiones accedan a información confidencial cuando el cliente ha actuado para restringir el acceso a esa información específica. OpenSearch versión 2.2.0, que es compatible con OpenSearch Security versión 2.2.0.0, contiene la corrección de este problema. No se presenta ninguna mitigación recomendada.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-35980 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4qr-f4xx-hjxw changed 2023-11-08CC-BY-4.0
NVDCVE-2022-35980 changed 2026-06-17Public domain