Skip to content

Commit

Permalink
Fixed #2997
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 26, 2020
1 parent 33d96c1 commit 3e8fa3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ 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)
#2996: Block 2 more gadget types (newrelic-agent)
(reported by Al1ex@knownsec)
#2997: Block 2 more gadget types (tomcat/naming-factory-dbcp)
(reported by Al1ex@knownsec)

2.9.10.7 (02-Dec-2020)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ public class SubTypeValidator
s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource");
s.add("com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource");

// [databind#2997]: tomcat/naming-factory-dbcp (embedded dbcp 1.x)
// (derivative of #2478)
s.add("org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource");
s.add("org.apache.tomcat.dbcp.dbcp.datasources.SharedPoolDataSource");

DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
}

Expand Down

0 comments on commit 3e8fa3b

Please sign in to comment.