CVE-2019-19899: Pebble Templates Improper Input Validation vulnerability in io.pebbletemplates:pebble-project

Summary

24/05/2022
Yes i
Critical
9.8

CVE-2019-19899: Pebble Templates Improper Input Validation vulnerability. Affects io.pebbletemplates:pebble-project versions < 3.1.4. Fixed in 3.1.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Pebble Templates is a Java-based templating engine used for generating dynamic web content. It provides a simple and efficient way to create HTML, XML, and other text-based templates. The vulnerability affects the io.pebbletemplates:pebble-project package, specifically versions prior to 3.1.4.

Vulnerability Detail

The vulnerability in Pebble Templates allows attackers to bypass a protection mechanism that is intended to block access to instances of java.lang.Class. This is possible because the getClass method is accessible via the public static java.lang.Class java.lang.Class.forName(java.lang.Module,java.lang.String) signature. Exploiting this vulnerability could lead to unauthorized access to sensitive data or the execution of arbitrary code.

How To Fix

Minimum fixed version

3.1.4

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update the package to the fixed version to mitigate the risk of exploitation.

Conclusion

The Pebble Templates Improper Input Validation vulnerability in the io.pebbletemplates:pebble-project package can be mitigated by upgrading to version 3.1.4 or later. It is important to promptly apply this fix to prevent potential unauthorized access or code execution. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for io.pebbletemplates:pebble-project →

Share this vulnerability

FAQ

Pebble Templates is a Java-based templating engine used for generating dynamic web content. It provides a simple and efficient way to create HTML, XML, and other text-based templates.

Exploiting this vulnerability could allow attackers to bypass a protection mechanism and potentially gain unauthorized access to sensitive data or execute arbitrary code.

To fix this vulnerability, it is recommended to upgrade the io.pebbletemplates:pebble-project package to version 3.1.4 or later.

There is no known workaround for this vulnerability. It is crucial to update the package to the fixed version to mitigate the risk of exploitation.

How To Fix

Minimum fixed version

3.1.4

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback