CVE-2019-20330 - MergeBase Vulnerability Database
Risk Score
High severity
Out of 10
Jan 3, 2020
Oct 29, 2022


FasterXML jackson-databind 2.x before lacks certain net.sf.ehcache blocking.
MergeBase Comment
Ehcache is quite a popular Java library, making any system that's also using Jackson-Databind vulnerable to possible deserialization of these two powerful EHCache classes.
git clone
git log -p --first-parent jackson-databind- -- src/main

+        // [databind#2526]: some more ehcache
+        s.add("net.sf.ehcache.transaction.manager.selector.GenericJndiSelector");
+        s.add("net.sf.ehcache.transaction.manager.selector.GlassfishSelector");

Jackson-databind probably has more CVEs than any other open source Java library on the planet. But that is a bit misleading, because the CVE's tend to be associated with blacklist "gadget" entries added to jackson-databind's list of Java objects it will refuse to deserialize against. A good blog post at explains this in more detail.

Common Weakness Enumeration (CWE)

Discover More from MergeBase

Open Source Protection

Stay on top of the real risk of open source at any time.

Avoid false positives and get sophisticated upgrade guidance based on risk, compatibility and popularity.

More on Continuous Protection

Add RunTime Protection

Detect and defend against known-vulnerabilities at runtime. The only SCA to do so.

The quickest way to respond to an imminent threat like log4j with CVE-2021-44228.

More on Run-time Protection

Shift Left Now

CodeGreen is an early-warning defence for your in-house development and integrates directly into GitHub and BitBucket

More on BitBucket and Github apps