Skip to content

Commit

Permalink
Backport #2052, #2058 fixes for 2.7.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 8, 2018
1 parent 27b4def commit 28badf7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Project: jackson-databind
=== Releases ===
------------------------------------------------------------------------

2.7.9.4 (not yet released)
2.7.9.4 (08-Jun-2018)

#2032: Blacklist another serialization gadget (ibatis)
#2052: CVE-2018-12022: Block polymorphic deserialization of types from Jodd-db library
#2058: CVE-2018-12023: Block polymorphic deserialization of types from Oracle JDBC driver

2.7.9.3 (11-Feb-2018)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ public class SubTypeValidator
// [databind#2032]: more 3rd party; data exfiltration via xml parsed ext entities
s.add("org.apache.ibatis.parsing.XPathParser");

// [databind#2052]: Jodd-db, with jndi/ldap lookup
s.add("jodd.db.connection.DataSourceConnectionProvider");

// [databind#2058]: Oracle JDBC driver, with jndi/ldap lookup
s.add("oracle.jdbc.connector.OracleManagedConnectionFactory");
s.add("oracle.jdbc.rowset.OracleJDBCRowSet");

DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
}

Expand Down

0 comments on commit 28badf7

Please sign in to comment.