Skip to content

Commit b5a304a

Browse files
committed
Fix #2498
1 parent 6c52f58 commit b5a304a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

release-notes/VERSION

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Unreleased but backported
1414
#2460: Block one more gadget type (ehcache, CVE-2019-17267)
1515
#2462: Block two more gadget types (commons-configuration)
1616
#2469: Block one more gadget type (xalan2)
17-
#2478: Block two more gadget types (commons-dbcp, p6spy)
17+
#2478: Block two more gadget types (commons-dbcp, p6spy, CVE-2019-16942 / CVE-2019-16943)
18+
#2498: Block one more gadget type (log4j-extras/1.2)
1819

1920
2.8.11.4 (25-Jul-2019)
2021

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.commons.dbcp.datasources.SharedPoolDataSource");
120120
s.add("com.p6spy.engine.spy.P6DataSource");
121121

122+
// [databind#2498]: log4j-extras (1.2)
123+
s.add("org.apache.log4j.receivers.db.DriverManagerConnectionSource");
124+
s.add("org.apache.log4j.receivers.db.JNDIConnectionSource");
125+
122126
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
123127
}
124128

0 commit comments

Comments
 (0)