Deserialization of untrusted data in FasterXML jackson-databind

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9.2, 2.8.11.4, 2.7.9.6, and 2.6.7.3. This occurs when Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has the logback jar in the classpath.

Basic information

Type
reviewed
Severity
high
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2019-08-01 19:18:06 UTC
Updated
2023-11-27 23:03:29 UTC
GitHub reviewed
2019-08-01 15:37:50 UTC
NVD published
2019-07-30

EPSS Score

Score Percentile
10.32% 92.98%

CVSS Scores

Base score Version Severity Vector
7.5 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-502 Deserialization of Untrusted Data

Credits

  • timtebeek (analyst)

Affected packages (4)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven com.fasterxml.jackson.core:jackson-databind >= 2.9.0, < 2.9.9.2 2.9.9.2
maven com.fasterxml.jackson.core:jackson-databind >= 2.7.0, < 2.7.9.6 2.7.9.6
maven com.fasterxml.jackson.core:jackson-databind < 2.6.7.3 2.6.7.3
maven com.fasterxml.jackson.core:jackson-databind >= 2.8.0, < 2.8.11.4 2.8.11.4

References

cvelogic Threat Intelligence