CVE-2023-23612
CVE-2023-23612 is a medium-severity vulnerability in Amazon Opensearch with a CVSS 3.x base score of 4.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-287.
Key facts
- Severity: Medium (CVSS 3.x base score 4.7)
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-287
- Affected product: Amazon Opensearch
- Published:
- Last modified:
Description
OpenSearch is an open source distributed and RESTful search engine. OpenSearch uses JWTs to store role claims obtained from the Identity Provider (IdP) when the authentication backend is SAML or OpenID Connect. There is an issue in how those claims are processed from the JWTs where the leading and trailing whitespace is trimmed, allowing users to potentially claim roles they are not assigned to if any role matches the whitespace-stripped version of the roles they are a member of. This issue is only present for authenticated users, and it requires either the existence of roles that match, not considering leading/trailing whitespace, or the ability for users to create said matching roles. In addition, the Identity Provider must allow leading and trailing spaces in role names. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. There are no known workarounds for this issue.
Frequently asked questions
- What is CVE-2023-23612?
- OpenSearch is an open source distributed and RESTful search engine. OpenSearch uses JWTs to store role claims obtained from the Identity Provider (IdP) when the authentication backend is SAML or OpenID Connect. There is an issue in how those claims are processed from the JWTs where the leading and trailing whitespace is trimmed, allowing users to potentially claim roles they are not assigned to if any role matches the whitespace-stripped version of the roles they are a member of. This issue is only present for authenticated users, and it requires either the existence of roles that match, not considering leading/trailing whitespace, or the ability for users to create said matching roles. In addition, the Identity Provider must allow leading and trailing spaces in role names. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. There are no known workarounds for this issue.
- How severe is CVE-2023-23612?
- CVE-2023-23612 has a CVSS 3.x base score of 4.7, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2023-23612 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-23612?
- CVE-2023-23612 affects Amazon Opensearch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-23612?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-23612 published?
- CVE-2023-23612 was published on 2023-01-26 and last updated on 2026-06-17.
References
- https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0
- https://github.com/opensearch-project/security/security/advisories/GHSA-864v-6qj7-62qj
Affected products (1)
- cpe:2.3:a:amazon:opensearch:*:*:*:*:*:-:*:*
More vulnerabilities in Amazon Opensearch
- CVE-2022-31115 — High (CVSS 8.8): opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. In versions prior to 2.0.1 the ruby…
- CVE-2025-9624 — High (CVSS 7.5): A vulnerability in OpenSearch allows attackers to cause Denial of Service (DoS) by submitting complex query_string…
- CVE-2022-35980 — High (CVSS 7.5): OpenSearch Security is a plugin for OpenSearch that offers encryption, authentication and authorization. Versions…
- CVE-2022-41918 — Medium (CVSS 6.3): OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. There is an issue with the…
- CVE-2023-23613 — Medium (CVSS 5.7): OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the…
- CVE-2023-45807 — Medium (CVSS 5.4): OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana following the license change in early…
All CVEs affecting Amazon Opensearch →
Other CWE-287 (Improper Authentication) vulnerabilities
- CVE-2026-130778 — Critical (CVSS 10.0): Incus before 7.6.0 contains an authentication bypass vulnerability that allows remote attackers to authenticate as any…
- CVE-2026-100397 — Critical (CVSS 10.0): Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1,…
- CVE-2026-127275 — Critical (CVSS 10.0): A vulnerability was determined in Linksys EA8100 1.0.3.216940. This issue affects the function…
- CVE-2026-121933 — Critical (CVSS 10.0): A flaw has been found in Linksys E5350 1.0.00.037. This impacts the function save_settings of the file…
- CVE-2026-121615 — Critical (CVSS 10.0): A vulnerability was determined in Linksys E5600 1.1.0.26. Affected is an unknown function of the file…
- CVE-2026-84295 — Critical (CVSS 10.0): Improper authentication in Progress Software WS_FTP Server versions prior to 2024.0.6 and 2025.0.3 on Windows could…
Browse all CWE-287 (Improper Authentication) vulnerabilities →