# CVE-2023-23612: Issue with whitespace in JWT roles in OpenSearch

Source: https://junglewise.ai/threats/cve-2023-23612-issue-with-whitespace-in-jwt-roles-in-opensearch  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-24  
License: CC BY 4.0 with a link back

CVE-2023-23612 · Severity: low · CVSS 3.1 · Published 2023-01-24

Issue with whitespace in JWT roles in OpenSearch

Technologies: [org.opensearch.plugin:opensearch-security (Maven)](https://junglewise.ai/threats/technologies/org-opensearch-plugin-opensearch-security). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-23612 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-23612 being exploited in the wild.

**How severe is CVE-2023-23612?** Low severity, with a CVSS score of 3.1, published 24 January 2023.

**Which products and versions are affected?** org.opensearch.plugin:opensearch-security (Maven) ECOSYSTEM:introduced=0,fixed=1.3.8.

**Is there a fix for CVE-2023-23612?** Yes. org.opensearch.plugin:opensearch-security (Maven): upgrade to 1.3.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-23612?** Check whether you run org.opensearch.plugin:opensearch-security (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.opensearch.plugin:opensearch-security (Maven): upgrade to 1.3.8 or later

  ```sh
  # set org.opensearch.plugin:opensearch-security to 1.3.8 in your pom.xml or build.gradle
  ```


## Affected products

- org.opensearch.plugin:opensearch-security (Maven) ECOSYSTEM:introduced=0,fixed=1.3.8

## Identifiers

- CVE-2023-23612
- GHSA-864v-6qj7-62qj

## Related threats

- [OpenSearch has ineffective TLS certificate hostname verification](https://junglewise.ai/threats/opensearch-has-ineffective-tls-certificate-hostname-verification-7d9162ba)
- [OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation](https://junglewise.ai/threats/opensearch-security-plugin-dls-not-applied-on-documents-linked-by-has-c0d1bd3d)
- [OpenSearch vulnerable to improper authorization for Rollover Requests](https://junglewise.ai/threats/opensearch-vulnerable-to-improper-authorization-for-rollover-requests-cf2ee022)
- [OpenSearch has a bypass of REST Layer Authorization Using Malformed Paths](https://junglewise.ai/threats/opensearch-has-a-bypass-of-rest-layer-authorization-using-malformed-60fbf9bf)
- [OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object](https://junglewise.ai/threats/opensearch-unauthorized-data-access-on-fields-protected-by-field-level-c0201c00)
