> CVE-2023-23612 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2023-01-26 21:18
MODIFIED
2024-11-21 07:46
CVSS_SCORE V3
4.7
EPSS (Prob. Exploit)
0.83%
Top 41.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-03 OSV 🔗 2026-03-01

> 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.

> AFFECTED_PRODUCTS

Amazon - Opensearch
>= 1.0.0 < 1.3.8
Amazon - Opensearch
>= 2.0.0 < 2.5.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
High (H)
Authentifié avec privilèges administratifs
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-864v-6qj7-62qj MODERATE

Issue with whitespace in JWT roles in OpenSearch

AFFECTED PACKAGES:
MAVEN / org.opensearch.plugin:opensearch-security
>= 2.0.0, < 2.5.0
Fixed in: 2.5.0
MAVEN / org.opensearch.plugin:opensearch-security
< 1.3.8
Fixed in: 1.3.8

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Issue with whitespace in JWT roles in OpenSearch

AFFECTED PACKAGES:
Unknown / Unknown
Unknown / Unknown
Unknown / Unknown
ALIASES:
GHSA-864v-6qj7-62qj

> HISTORIQUE DES MODIFICATIONS

Première apparition
26/01/2023 21:18
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:39
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME