Security Advisory Notification

Action: updated

Advisory ID: GHSA-864v-6qj7-62qj

CVE ID: CVE-2023-23612

Summary: Issue with whitespace in JWT roles in OpenSearch

Severity: Moderate

Description

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.

Patched versions: OpenSearch 1.3.8 and 2.5.0

Affected Versions
Patched Versions
Vulnerabilities
References
CVSS Details

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

Score: 4.7