Skip to content

Commit 7487cf7

Browse files
committed
Preliminary blocks for #2052: not actually sure if there is vuln via gadgets, but they seem suspicious enough to block tentatively
1 parent 051bd5e commit 7487cf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ public class SubTypeValidator
6060
// [databind#2032]: more 3rd party; data exfiltration via xml parsed ext entities
6161
s.add("org.apache.ibatis.parsing.XPathParser");
6262

63+
// [databind#2052]: ldap approaches; in all cases LDAP connection String is passed
64+
// and access attempt is made:
65+
s.add("oracle.jdbc.connector.OracleManagedConnectionFactory");
66+
s.add("jodd.db.connection.DataSourceConnectionProvider");
67+
s.add("oracle.jdbc.rowset.OracleJDBCRowSet");
68+
6369
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
6470
}
6571

0 commit comments

Comments
 (0)