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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2595-1
Debian Bugs985220

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
velocity (PTS)bookworm, bullseye1.7-6fixed
sid, trixie1.7-7fixed

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