Arbitrary Code Execution Affecting io.pebbletemplates:pebble package, versions [,3.1.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1% (84th 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 IDSNYK-JAVA-IOPEBBLETEMPLATES-538370
  • published19 Dec 2019
  • disclosed19 Dec 2019
  • creditismai1337

Introduced: 19 Dec 2019

CVE-2019-19899  (opens in a new tab)
CWE-358  (opens in a new tab)

How to fix?

Upgrade io.pebbletemplates:pebble to version 3.1.4 or higher.

Overview

io.pebbletemplates:pebble is a java templating engine inspired by Twig.

Affected versions of this package are vulnerable to Arbitrary Code Execution. It allows attackers to bypass a protection mechanism (intended to block access to instances of java.lang.Class) due to getClass being accessible via the public static java.lang.Class java.lang.Class.forName(java.lang.Module,java.lang.String) signature.

CVSS Scores

version 3.1