Expression Language Injection Affecting org.open-metadata:openmetadata-service package, versions [,1.2.4)
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGOPENMETADATA-6457220
- published 18 Mar 2024
- disclosed 18 Mar 2024
- credit Alvaro Muñoz
Introduced: 18 Mar 2024
CVE-2024-28848 Open this link in a new tabHow to fix?
Upgrade org.open-metadata:openmetadata-service
to version 1.2.4 or higher.
Overview
Affected versions of this package are vulnerable to Expression Language Injection due to unchecked SpEL evaluation in CompiledRule::validateExpression
using getValue
, which uses the StandardEvaluationContext
. This allows the expression to use internal classes such as java.lang.Runtime
and execute arbitrary system commands on the underlaying operating system.
In addition, Authorizer.authorize()
is never called on the affected path, so authenticated users can trigger this endpoint and evaluate arbitrary SpEL expressions.