VDB
Sign up
LOW3.7

GHSA-83x9-vc3c-hghc

OpenSearch has a bypass of REST Layer Authorization Using Malformed Paths

Quick fix

GHSA-83x9-vc3c-hghc — org.opensearch.plugin:opensearch-security: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.19.0.0</version> for org.opensearch.plugin:opensearch-security

Details

### Description

A flaw was identified in the OpenSearch REST layer that could allow authorization checks to be bypassed when processing certain malformed HTTP requests. This could permit unauthorized access to restricted API endpoints in environments that rely on REST-layer authorization.

Transport-level authorization is not affected by this issue.

### Impact

The default OpenSearch distribution is not affected by this issue. REST actions in the default distribution have corresponding transport actions that independently enforce authorization. Custom plugins that register REST actions without a corresponding transport action may be affected, potentially allowing unauthorized read access to those endpoints.

### Patches

This issue is fixed in OpenSearch 2.19.0. Users should upgrade to 2.19.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.opensearch.plugin:opensearch-security
Introduced in: 2.11.0.0Fixed in: 2.19.0.0
Fix# pom.xml: bump <version>2.19.0.0</version> for org.opensearch.plugin:opensearch-security

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.opensearch.plugin/opensearch-security"]}'