Skip to content

Commit

Permalink
Fixed #2986
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 16, 2020
1 parent 7c24053 commit 41b8bdb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Project: jackson-databind
=== Releases ===
------------------------------------------------------------------------

2.9.10.8 (not yet released)

#2986: Block two more gadget types
(reported by Al1ex@knownsec)

2.9.10.7 (02-Dec-2020)

#2589: `DOMDeserializer`: setExpandEntityReferences(false) may not prevent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ public class SubTypeValidator
s.add("com.nqadmin.rowset.JdbcRowSetImpl");
s.add("org.arrah.framework.rdbms.UpdatableJdbcRowsetImpl");

// [databind#2986]: dbcp2
s.add("org.apache.commons.dbcp2.datasources.PerUserPoolDataSource");
s.add("org.apache.commons.dbcp2.datasources.SharedPoolDataSource");

DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
}

Expand Down

0 comments on commit 41b8bdb

Please sign in to comment.