cve.bz

CVE-2020-13936

8.8 highEPSS 23%Fix available

High (8.8). EPSS 23% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.velocity:velocity-engine-parent 2.3.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
23% (unchanged from 23% a week ago; 23% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13936 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13936?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13936?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13936 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Velocity Enginefrom Apache Velocity Engine through 2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-59j4-wjwp-mw9mMavenorg.apache.velocity:velocity-engine-parent<2.32.3
GHSA-59j4-wjwp-mw9mMavenorg.apache.velocity:velocity<=1.7no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9velocity1.7-5+deb9u1DLA-2595-1
Debian12, 13, 14velocity1.7-6DEBIAN-CVE-2020-13936
Ubuntu20.04:LTSvelocity1.7-5+deb9u1build0.20.04.1UBUNTU-CVE-2020-13936 USN-6281-1
UbuntuPro:16.04:LTSvelocity1.7-4ubuntu0.1~esm1UBUNTU-CVE-2020-13936 USN-6281-1
UbuntuPro:18.04:LTSvelocity1.7-5ubuntu0.18.04.1~esm1UBUNTU-CVE-2020-13936 USN-6281-1
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-artemis-wildfly-integration0:1.0.4-1.redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-bouncycastle, eap7-bouncycastle-mail, eap7-bouncycastle-pkix and 1 more0:1.68.0-2.redhat_00005.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-hal-console0:3.2.14-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 6 more0:9.4.22-3.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.4.30-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-genericjms0:2.0.9-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-marshalling, eap7-jboss-marshalling-river0:2.0.11-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core and 19 more0:1.7.2-6.Final_redhat_00007.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-weld-3.1-api, eap7-jboss-weld-3.1-api-weld-api, eap7-jboss-weld-3.1-api-weld-spi0:3.1.0-6.SP3_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jgroups-kubernetes0:1.0.16-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-mod_cluster0:1.4.3-2.Final_redhat_00002.1.el6eapRHSA-2021:2046
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-netty, eap7-netty-all0:4.1.60-1.Final_redhat_00001.1.el6eapRHSA-2021:2046
81 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moremaven-invoker3.3.0-150200.3.7.5SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moremaven-plugin-tools3.15.1-150200.3.15.12SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moremaven-surefire3.5.2-150200.3.9.20.12SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moremaven-surefire-plugins3.5.2-150200.3.9.20.2SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moremaven-doxia2.0.0-150200.4.18.11SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moremaven-doxia-sitetools2.0.0-150200.3.18.3SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moremaven-javadoc-plugin3.11.1-150200.4.21.2SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moremaven-reporting-api4.0.0-150200.3.10.12SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moreplexus-velocity2.1.0-150200.3.10.3SUSE-SU-2025:0719-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morevelocity-engine-core2.4-150200.5.3.3SUSE-SU-2025:0719-1
SUSELinux Enterprise Module for Development Tools 15 SP2velocity1.7-3.3.1SUSE-SU-2021:0800-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4, Manager Server Module 4.2 and 1 moresnakeyaml1.31-150200.3.8.1SUSE-SU-2022:3397-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2velocity1.7-lp152.5.3.1openSUSE-SU-2021:0447-1
openSUSELeap 15.3, Leap 15.4snakeyaml1.31-150200.3.8.1SUSE-SU-2022:3397-1
openSUSELeap 15.6maven-dependency-analyzer1.15.1-150200.3.10.3SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-dependency-plugin3.8.1-150200.3.10.2SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-doxia2.0.0-150200.4.18.11SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-doxia-sitetools2.0.0-150200.3.18.3SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-invoker3.3.0-150200.3.7.5SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-invoker-plugin3.8.1-150200.3.6.2SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-javadoc-plugin, maven-javadoc-plugin-bootstrap3.11.1-150200.4.21.2SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-parent43-150200.3.8.2SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-plugin-plugin, maven-plugin-plugin-bootstrap3.15.1-150200.3.15.2SUSE-SU-2025:0719-1
openSUSELeap 15.6maven-plugin-tools3.15.1-150200.3.15.12SUSE-SU-2025:0719-1
7 more for openSUSE in the JSON and on openSUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

OpenShift Container Platform (OCP) openshift-logging/elasticsearch6-rhel8 container does contain a vulnerable version of velocity. The references to the library only occur in the x-pack component which is an enterprise-only feature of Elasticsearch - hence it has been marked as wontfix as this time and may be fixed in a future release. Additionally the hive container only references velocity in the testutils of the code but the code still exists in the container, as such it has been given a Moderate impact.

* Velocity as shipped with Red Hat Enterprise Linux 6 is not affected because it does not contain the vulnerable code.

* Velocity as shipped with Red Hat Enterprise Linux 7 contains a vulnerable version, but it is used as a dependency for IdM/ipa, which does not use the vulnerable functionality. It has been marked as Moderate for this reason.

* Although velocity shipped in Red Hat Enterprise Linux 8's pki-deps:10.6 for IdM/ipa is a vulnerable version, the vulnerable code is not used by pki. It has been marked as Low for this reason.

ProductPackageStateAdvisory
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basevelocityFixed 2021-07-15RHSA-2021:2755
Red Hat EAP-XP via EAP 7.3.x basevelocityFixed 2021-06-02RHSA-2021:2210
Red Hat Fuse 7.9velocityFixed 2021-08-11RHSA-2021:3140
Red Hat IntegrationvelocityFixed 2021-12-02RHSA-2021:4918
Red Hat Integration Camel Quarkus 2Fixed 2021-11-23RHSA-2021:4767
Red Hat JBoss Enterprise Application Platformorg.apache.velocity/velocity-engine-core:2.3.0.redhat-00001Fixed 2021-09-23RHSA-2021:3660
Red Hat JBoss Enterprise Application Platform 7velocityFixed 2021-05-19RHSA-2021:2051
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-resteasy-0:3.0.27-1.Final_redhat_00001.1.ep7.el7Fixed 2025-02-24RHSA-2025:1746
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7eap7-velocity-0:1.7.0-3.redhat_00006.1.ep7.el7Fixed 2025-02-24RHSA-2025:1746
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-hal-console-0:3.2.17-1.Final_redhat_00001.1.el7eapFixed 2025-02-24RHSA-2025:1747
A-MQ Clients 2velocityNot affected
Red Hat AMQ Broker 7velocityNot affected
Red Hat BPM Suite 6velocityOut of support scope
Red Hat Decision Manager 7velocityAffected
Red Hat Enterprise Linux 6velocityNot affected
Red Hat Enterprise Linux 7velocityOut of support scope
Red Hat Enterprise Linux 8pki-deps:10.6/velocityFix deferred
Red Hat Integration Camel Quarkus 1velocityAffected
Red Hat JBoss A-MQ 6velocityOut of support scope
Red Hat JBoss BRMS 6velocityOut of support scope
87 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13936.

References

Check your stackJSON