Expression Language Injection Affecting org.open-metadata:openmetadata-service package, versions [,1.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (19th percentile)

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 Learn

Learn about Expression Language Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENMETADATA-6457142
  • published18 Mar 2024
  • disclosed18 Mar 2024
  • creditAlvaro Muñoz

Introduced: 18 Mar 2024

CVE-2024-28254  (opens in a new tab)
CWE-917  (opens in a new tab)

How 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 ‎AlertUtil::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.

CVSS Scores

version 3.1