ADVISORIES

GitHub Advisory Database

GHSA-59j4-wjwp-mw9m

Sandbox Bypass in Apache Velocity Engine

Details

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 versions up to 2.2.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.velocity:velocity-engine-parent
All versions before 2.3 (fixed in 2.3)
Mavenorg.apache.velocity:velocity
All versions up to and including 1.7

References