Skip to content

Commit

Permalink
Fixed #2996
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 26, 2020
1 parent 3d2903e commit 33d96c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 33d96c1

Please sign in to comment.