Skip to content

Commit eb25481

Browse files
committed
Fix #2526
1 parent bbdbc40 commit eb25481

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

release-notes/VERSION

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Project: jackson-databind
1212
#2462: Block two more gadget types (commons-configuration/-2)
1313
#2478: Block two more gadget types (commons-dbcp, p6spy, CVE-2019-16942 / CVE-2019-16943)
1414
#2498: Block one more gadget type (apache-log4j-extras/1.2, CVE-2019-17531)
15+
#2526: Block two more gadget types (ehcache/JNDI - CVEs to be allocated)
16+
(repoerted by UltramanGaia)
1517

1618
2.7.9.6 (26-Jul-2019)
1719

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java

+4
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ public class SubTypeValidator
119119
s.add("org.apache.log4j.receivers.db.DriverManagerConnectionSource");
120120
s.add("org.apache.log4j.receivers.db.JNDIConnectionSource");
121121

122+
// [databind#2526]: some more ehcache
123+
s.add("net.sf.ehcache.transaction.manager.selector.GenericJndiSelector");
124+
s.add("net.sf.ehcache.transaction.manager.selector.GlassfishSelector");
125+
122126
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
123127
}
124128

0 commit comments

Comments
 (0)