Arbitrary Command Injection Affecting eap7-jboss-weld-3.1-api-weld-api package, versions <0:3.1.0-6.SP3_redhat_00001.1.el8eap


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-EAP7JBOSSWELD31APIWELDAPI-5319340
  • published26 Jul 2021
  • disclosed9 Mar 2021

Introduced: 9 Mar 2021

CVE-2020-13936  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade RHEL:8 eap7-jboss-weld-3.1-api-weld-api to version 0:3.1.0-6.SP3_redhat_00001.1.el8eap or higher.
This issue was patched in RHSA-2021:2048.

NVD Description

Note: Versions mentioned in the description apply only to the upstream eap7-jboss-weld-3.1-api-weld-api package and not the eap7-jboss-weld-3.1-api-weld-api package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

CVSS Scores

version 3.1