CVE-2024-28253

Critical

Description

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. `CompiledRule::validateExpression` is also called from `PolicyRepository.prepare`. `prepare()` is called from `EntityRepository.prepareInternal()` which, in turn, gets called from `EntityResource.createOrUpdate()`. Note that even though there is an authorization check (`authorizer.authorize()`), it gets called after `prepareInternal()` gets called and therefore after the SpEL expression has been evaluated. In order to reach this method, an attacker can send a PUT request to `/api/v1/policies` which gets handled by `PolicyResource.createOrUpdate()`. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as `GHSL-2023-252`. This issue may lead to Remote Code Execution and has been addressed in version 1.3.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

SeverityCritical
CVSS9.4
Exploit probability96. percentile12.5%
ProductOpen-metadata Openmetadata
PublishedMar 15, 2024
First seenMar 15, 2024

How to fix

Update
  • open-metadata openmetadata1.3.1 or later
  • org.open-metadata:openmetadata-service1.3.1 or later

Affected products

ProductAffected versionsFixed in
open-metadata openmetadatav < 1.3.11.3.1
org.open-metadata:openmetadata-serviceMavenv < 1.3.11.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.