CVE-2020-13936
JSON

8.8high

Velocity Sandbox Bypass

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
22.7% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-59j4-wjwp-mw9m

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

Product or packageVersionsReported by
Apache Software Foundation Apache Velocity Enginefrom Apache Velocity Engine up to 2.2CVE List
org.apache.velocity:velocity-engine-parent (Maven)before 2.3GitHub Advisory Database
org.apache.velocity:velocity (Maven)up to 1.7GitHub Advisory Database
apache velocity_enginebefore 2.3NVD
apache wss4j2.3.1NVD
debian debian_linux9.0NVD
oracle banking_deposits_and_lines_of_credit_servicing2.12.0NVD
oracle banking_enterprise_default_managementfrom 2.3.0 up to 2.4.1, 2.6.2, 2.7.1, 2.10.0, 2.12.0NVD
oracle banking_loans_servicing2.12.0NVD
oracle banking_party_management2.7.0NVD
oracle banking_platformfrom 2.3.0 up to 2.4.1, 2.6.2, 2.7.1NVD
oracle communications_cloud_native_core_policy1.14.0NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV:N/AC:L/Au:S/C:C/I:C/A:C

Classification

What each source says

CVE List

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.

NVD (es)

Un atacante que es capaz de modificar las plantillas de Velocity puede ejecutar código Java arbitrario o ejecutar comandos de sistema arbitrarios con los mismos privilegios que la cuenta que ejecuta el contenedor Servlet. Esto se aplica a las aplicaciones que permiten a usuarios no confiables cargar y modificar plantillas de velocidad que ejecutan versiones de Apache Velocity Engine versiones hasta la 2.2

References

https://lists.apache.org/thread.html/r01043f584cbd47959fabe18fff64de940f81a65024bb8dddbda31d9a%40%3Cuser.velocity.apache.org%3Emailing-list, vendor-advisory, web
https://lists.apache.org/thread.html/rb042f3b0090e419cc9f5a3d32cf0baff283ccd6fcb1caea61915d6b6%40%3Ccommits.velocity.apache.org%3Emailing-list
http://www.openwall.com/lists/oss-security/2021/03/10/1mailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/r3ea4c4c908505b20a4c268330dfe7188b90c84dcf777728d02068ae6%40%3Cannounce.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rd2a89e17e8a9b451ce655f1a34117752ea1d18a22ce580d8baa824fd%40%3Ccommits.druid.apache.org%3Emailing-list
https://lists.debian.org/debian-lts-announce/2021/03/msg00019.htmlmailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/re641197d204765130618086238c73dd2ce5a3f94b33785b587d72726%40%3Cdev.ws.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rbee7270556f4172322936b5ecc9fabf0c09f00d4fa56c9de1963c340%40%3Cdev.ws.apache.org%3Emailing-list
https://lists.apache.org/thread.html/reab5978b54a9f4c078402161e30a89c42807b198814acadbe6c862c7%40%3Cdev.ws.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rd7e865c87f9043c21d9c1fd9d4df866061d9a08cfc322771160d8058%40%3Cdev.ws.apache.org%3Emailing-list
https://lists.apache.org/thread.html/re8e7482fe54d289fc0229e61cc64947b63b12c3c312e9f25bf6f3b8c%40%3Cdev.ws.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r0bc98e9cd080b4a13b905c571b9bed87e1a0878d44dbf21487c6cca4%40%3Cdev.santuario.apache.org%3Emailing-list

Sources

SourceRecordLicence
CVE ListCVE-2020-13936 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-59j4-wjwp-mw9m changed 2024-03-15CC-BY-4.0
NVDCVE-2020-13936 changed 2026-06-17Public domain