org.apache.velocity:velocity-engine-core@2.1 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.velocity:velocity-engine-core package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary Code Execution

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.

Note Users of org.apache.velocity:velocity should update to org.apache.velocity:velocity-engine-core version 2.3 to mitigate this vulnerability.

How to fix Arbitrary Code Execution?

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

[,2.3)