Skip to content

Commit dda513b

Browse files
committed
Fix #2326
1 parent 8bb7c9a commit dda513b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

release-notes/VERSION-2.x

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Project: jackson-databind
2020
(reported by Cyril M)
2121
#2324: `StringCollectionDeserializer` fails with custom collection
2222
(reported byb Daniil B)
23+
#2326: Block one more gadget type (CVE-2019-12086)
2324
- Prevent String coercion of `null` in `WritableObjectId` when calling `JsonGenerator.writeObjectId()`,
2425
mostly relevant for formats like YAML that have native Object Ids
2526

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

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ public class SubTypeValidator
8080
s.add("org.apache.openjpa.ee.JNDIManagedRuntime");
8181
s.add("org.apache.axis2.transport.jms.JMSOutTransportInfo");
8282

83+
// [databind#2326] (2.9.9): one more 3rd party gadget
84+
s.add("com.mysql.cj.jdbc.admin.MiniAdmin");
85+
8386
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
8487
}
8588

0 commit comments

Comments
 (0)