diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 9427349c25..a3624f8036 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -8,6 +8,8 @@ Project: jackson-databind #2986: Block two more gadget types (commons-dbcp2, CVE-2020-35490/CVE-2020-35491) (reported by Al1ex@knownsec) +#2996: Block 2 more gadget types (placeholder) + (reported by Al1ex@knownsec) 2.9.10.7 (02-Dec-2020) diff --git a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java index 6e007b9c24..0b4c2778fc 100644 --- a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java +++ b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java @@ -211,6 +211,11 @@ public class SubTypeValidator s.add("org.apache.commons.dbcp2.datasources.PerUserPoolDataSource"); s.add("org.apache.commons.dbcp2.datasources.SharedPoolDataSource"); + // [databind#2996]: newrelic-agent + embedded-logback-core + // (derivative of #2334 and #2389) + s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource"); + s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource"); + DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s); }