Skip to content

Sandbox Bypass in Apache Velocity Engine

High severity GitHub Reviewed Published Jan 6, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

maven org.apache.velocity:velocity (Maven)

Affected versions

<= 1.7

Patched versions

None
maven org.apache.velocity:velocity-engine-parent (Maven)
< 2.3
2.3

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.

References

Published by the National Vulnerability Database Mar 10, 2021
Reviewed Mar 17, 2021
Published to the GitHub Advisory Database Jan 6, 2022
Last updated Feb 1, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-13936

GHSA ID

GHSA-59j4-wjwp-mw9m
Checking history
See something to contribute? Suggest improvements for this vulnerability.