HIGH 8.8

CVE-2020-13936

Sandbox Bypass in Apache Velocity Engine

Description

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.velocity » velocity
<= 1.7
-
org.apache.velocity » velocity-engine-parent
< 2.3
2.3

Blast radius

2affected artifacts
114affected versions
21,748dependent artifacts (est.)
2,006,904dependent versions

66% of the dependent artifacts (14,453) still pull an affected version in their latest release.

DepthDependent versions
Direct
88,526
2 hops
443,375
3 hops
611,223
4 hops
447,215
5 hops
285,075
6 hops
131,490

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References