Skip to content

Commit 7dbf51b

Browse files
committed
Fix #2854
1 parent 2d6d4b9 commit 7dbf51b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

release-notes/VERSION-2.x

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Project: jackson-databind
44
=== Releases ===
55
------------------------------------------------------------------------
66

7+
2.9.10.7 (not yet released)
8+
9+
#2854: Block one more gadget type (javax.swing, CVE-2020-xxx)
10+
(reported by Yangkun(ICSL))
11+
712
2.9.10.6 (24-Aug-2020)
813

914
#2798: Block one more gadget type (xxx, CVE-xxxx-xxx)

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ public class SubTypeValidator
143143
// [databind#2814]: anteros-dbcp
144144
s.add("br.com.anteros.dbcp.AnterosDBCPDataSource");
145145

146-
// [databind#2642]: javax.swing (jdk)
146+
// [databind#2642][databind#2854]: javax.swing (jdk)
147147
s.add("javax.swing.JEditorPane");
148+
s.add("javax.swing.JTextPane");
148149

149150
// [databind#2648], [databind#2653]: shire-core
150151
s.add("org.apache.shiro.realm.jndi.JndiRealmFactory");

0 commit comments

Comments
 (0)