CVE-2018-21234

Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set

published May 21, 2020

CVSS
—
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

⚠️ A tiny misconfiguration can open the door to a world of hurt! Jodd versions before 5.0.4 allow deserialization of untrusted JSON data when setClassMetadataName is set. 🛠️ Think of it like a restaurant that allows customers to submit their own recipes without checking the ingredients. If a chef blindly prepares a dish based on those unvetted submissions, they might end up serving something harmful! An attacker could exploit this flaw to send crafted JSON data, potentially gaining control over the application. This could lead to unauthorized access, data manipulation, or even remote code execution, depending on how the application processes that data. Talk about a recipe for disaster!

Put simply

Think of it like a restaurant that allows customers to submit their own recipes without checking the ingredients. If a chef blindly prepares a dish based on those unvetted submissions, they might end up serving something harmful! This vulnerability stems from the improper deserialization of JSON data, which can allow malicious input to affect the application's execution flow.

What to do

An attacker could exploit this flaw to send crafted JSON data, potentially gaining control over the application. This could lead to unauthorized access, data manipulation, or even remote code execution, depending on how the application processes that data. Talk about a recipe for disaster! Upgrade Jodd to version 5.0.4 or later to close this vulnerability. Review your application configurations to ensure no untrusted JSON data can be deserialized without proper validation. Regular audits of your dependencies are always a good practice! You've got this! By following these steps, you'll secure your application and keep the bad guys at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08318 · 94.9th percentile
Published
2020-05-21T22:15Z
EPSS history
Timeline
  • 21 MAY 22:15Z
    Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set
    cvelistv5