VDB

CVE-2020-13936

CVE-2020-13936 PUBLISHED CVSS 8.800000190734863 HIGH

Velocity Sandbox Bypass

Reported by apache · Published March 10, 2021

velocity is fixed in 1.7 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.velocity:velocityMaven Central1.7
org.apache.velocity:velocity-engine-parentMaven Central2.3
org.apache.velocity:velocity-engine-coreMaven Central2.3
velocity-demoAmazon Linux1.7-10.2.amzn2
velocityAmazon Linux1.7-10.2.amzn2
velocity-javadocAmazon Linux1.7-10.2.amzn2
velocity-manualAmazon Linux1.7-10.2.amzn2
velocityUbuntu:Pro:18.04:LTS1.7-5ubuntu0.18.04.1~esm1
velocityUbuntu:20.04:LTS1.7-5+deb9u1build0.20.04.1
velocity_engineapache2.3
banking_platformoracle2.4.1
banking_enterprise_default_managementoracle2.4.1

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Apache Software FoundationApache Velocity EngineApache Velocity Engine
amazon:2velocity-demo0
Mavenorg.apache.velocity:velocity0
amazon:2velocity0
amazon:2velocity-javadoc0
Mavenorg.apache.velocity:velocity-engine-core0
Apache Software FoundationApache Velocity Engine*
amazon:2velocity-manual0
Mavenorg.apache.velocity:velocity-engine-parent0

Timeline

  • Mar 10, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (6 in total, the first dated here)
  • Sep 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-13936
vulnetix vdb fixes CVE-2020-13936

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-13936/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 5 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›