Arbitrary Code Execution Affecting org.apache.velocity:velocity-engine-core package, versions [,2.3)


0.0
high
  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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-ORGAPACHEVELOCITY-1083992

  • published

    10 Mar 2021

  • disclosed

    10 Mar 2021

  • credit

    Alvaro Munoz

How to fix?

Upgrade org.apache.velocity:velocity-engine-core to version 2.3 or higher.

Overview

org.apache.velocity:velocity-engine-core is a template engine written in Java.

Affected versions of this package are vulnerable to Arbitrary Code Execution. An attacker that is able to modify Velocity templates may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running the Servlet container. This applies to applications that allow untrusted users to upload/modify velocity templates running Apache Velocity Engine.