Skip to content

Commit 33d96c1

Browse files
committed
Fixed #2996
1 parent 3d2903e commit 33d96c1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

release-notes/VERSION-2.x

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Project: jackson-databind
88

99
#2986: Block two more gadget types (commons-dbcp2, CVE-2020-35490/CVE-2020-35491)
1010
(reported by Al1ex@knownsec)
11+
#2996: Block 2 more gadget types (placeholder)
12+
(reported by Al1ex@knownsec)
1113

1214
2.9.10.7 (02-Dec-2020)
1315

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

+5
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ public class SubTypeValidator
211211
s.add("org.apache.commons.dbcp2.datasources.PerUserPoolDataSource");
212212
s.add("org.apache.commons.dbcp2.datasources.SharedPoolDataSource");
213213

214+
// [databind#2996]: newrelic-agent + embedded-logback-core
215+
// (derivative of #2334 and #2389)
216+
s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource");
217+
s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource");
218+
214219
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
215220
}
216221

0 commit comments

Comments
 (0)