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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.05% (16th 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 ID SNYK-JAVA-ORGOPENMETADATA-6457142
  • published 18 Mar 2024
  • disclosed 18 Mar 2024
  • credit Alvaro Muñoz

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.