CVE-2020-13936

NameCVE-2020-13936
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2595-1
NVD severityhigh
Debian Bugs985220

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
velocity (PTS)stretch1.7-5vulnerable
stretch (security)1.7-5+deb9u1fixed
buster1.7-5+deb10u1fixed
bullseye, sid1.7-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
velocitysourcestretch1.7-5+deb9u1DLA-2595-1
velocitysourcebuster1.7-5+deb10u1
velocitysource(unstable)1.7-6985220

Notes

https://www.openwall.com/lists/oss-security/2021/03/10/1
Fixed by: https://github.com/apache/velocity-engine/commit/1ba60771d23dae7e6b3138ae6bee09cf6f9d2485

Search for package or bug name: Reporting problems