Skip to content

Commit 437750a

Browse files
committed
Block one more gadget type (jodd-db, CVE-2018-12022)
Merged from FasterXML/jackson-databind#2052
1 parent f2dab6a commit 437750a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

release-notes/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ One more patch release for 1.9.
2222
* [databind#1855]: Blacklist for more serialization gadgets (dbcp/tomcat, spring)
2323
* [databind#1931]: Two more `c3p0` gadgets to exploit default typing issue
2424
* [databind#2032]: Blacklist another serialization gadget (ibatis)
25+
* [databind#2052]: Block one more gadget type (jodd-db, CVE-2018-12022)
2526

2627
1.9.13 (14-Jul-2013)
2728

src/mapper/java/org/codehaus/jackson/map/jsontype/impl/SubTypeValidator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public class SubTypeValidator
5757
s.add("com.mchange.v2.c3p0.debug.AfterCloseLoggingComboPooledDataSource");
5858
// [databind#2032]: more 3rd party; data exfiltration via xml parsed ext entities
5959
s.add("org.apache.ibatis.parsing.XPathParser");
60+
// [databind#2052]: ldap approaches; in all cases LDAP connection String is passed
61+
// and access attempt is made:
62+
s.add("jodd.db.connection.DataSourceConnectionProvider");
6063

6164
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
6265
}

0 commit comments

Comments
 (0)