Skip to content

Commit

Permalink
Fixed #2998
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 26, 2020
1 parent 3e8fa3b commit 567194c
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 @@ -12,6 +12,8 @@ Project: jackson-databind
(reported by Al1ex@knownsec)
#2997: Block 2 more gadget types (tomcat/naming-factory-dbcp)
(reported by Al1ex@knownsec)
#2998: Block 2 more gadget types (org.apache.tomcat/tomcat-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 @@ -221,6 +221,11 @@ public class SubTypeValidator
s.add("org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource");
s.add("org.apache.tomcat.dbcp.dbcp.datasources.SharedPoolDataSource");

// [databind#2998]: org.apache.tomcat/tomcat-dbcp (embedded dbcp 2.x)
// (derivative of #2478)
s.add("org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource");
s.add("org.apache.tomcat.dbcp.dbcp2.datasources.SharedPoolDataSource");

DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
}

Expand Down

0 comments on commit 567194c

Please sign in to comment.