Skip to content

Commit 3240cab

Browse files
committed
Fix #2648
1 parent 6ba4845 commit 3240cab

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

release-notes/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Project: jackson-databind
1717
#2449: Block one more gadget type (HikariCP, CVE-2019-14439 / CVE-2019-16335)
1818
#2462: Block two more gadget types (commons-configuration/-2)
1919
#2478: Block two more gadget types (commons-dbcp, p6spy, CVE-2019-16942 / CVE-2019-16943)
20+
#2648: Block one more gadget type (shiro-core, CVE-to-be-allocated)
2021
#2498: Block one more gadget type (log4j-extras/1.2, CVE-2019-17531)
2122
#2526: Block two more gadget types (ehcache/JNDI, CVE-2019-20330)
2223
(reported by UltramanGaia)

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

+3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ public class SubTypeValidator
136136
// [databind#2642]: javax.swing (jdk)
137137
s.add("javax.swing.JEditorPane");
138138

139+
// [databind#2648]: shire-core
140+
s.add("org.apache.shiro.realm.jndi.JndiRealmFactory");
141+
139142
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
140143
}
141144

0 commit comments

Comments
 (0)