Skip to content

Commit f6d9c66

Browse files
committed
Fixed #2765
1 parent 840eae2 commit f6d9c66

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

release-notes/VERSION-2.x

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Project: jackson-databind
1212
(reported by Fangrun Li)
1313
#2704: Block one more gadget type (weblogic/oracle-aqjms)
1414
(reported by XuYuanzhen)
15+
#2765: Block one more gadget type (org.jsecurity))
16+
(reported by Al1ex@knownsec)
1517

1618
2.9.10.4 (11-Apr-2020)
1719

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

+3
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ public class SubTypeValidator
194194
s.add("oracle.jms.AQjmsXAQueueConnectionFactory");
195195
s.add("oracle.jms.AQjmsXAConnectionFactory");
196196

197+
// [databind#2764]: org.jsecurity:
198+
s.add("org.jsecurity.realm.jndi.JndiRealmFactory");
199+
197200
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
198201
}
199202

0 commit comments

Comments
 (0)