CVE-2019-20330 - MergeBase Vulnerability Database
Risk Score
9.8
Out of 10
Summary
Published
Jan 3, 2020
Updated
Jul 20, 2021
Source
NVD
Identifier

CVE-2019-20330

Description
FasterXML jackson-databind 2.x before 2.9.10.2 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 https://github.com/FasterXML/jackson-databind.git
git log -p --first-parent jackson-databind-2.9.10.1..jackson-databind-2.9.10.2 -- 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 cowtowncoder.medium.com 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