Skip to content

Commit fc4214a

Browse files
committed
Fix #2526
1 parent 0804135 commit fc4214a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

release-notes/VERSION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Unreleased but backported
1616
#2469: Block one more gadget type (xalan2)
1717
#2478: Block two more gadget types (commons-dbcp, p6spy, CVE-2019-16942 / CVE-2019-16943)
1818
#2498: Block one more gadget type (log4j-extras/1.2, CVE-2019-17531)
19+
#2526: Block two more gadget types (ehcache/JNDI - CVEs to be allocated)
20+
(repoerted by UltramanGaia)
1921

2022
2.8.11.4 (25-Jul-2019)
2123

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public class SubTypeValidator
123123
s.add("org.apache.log4j.receivers.db.DriverManagerConnectionSource");
124124
s.add("org.apache.log4j.receivers.db.JNDIConnectionSource");
125125

126+
// [databind#2526]: some more ehcache
127+
s.add("net.sf.ehcache.transaction.manager.selector.GenericJndiSelector");
128+
s.add("net.sf.ehcache.transaction.manager.selector.GlassfishSelector");
129+
126130
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
127131
}
128132

0 commit comments

Comments
 (0)