From 91ac9210837f534d47dc7eca35eb77f8b1d94478 Mon Sep 17 00:00:00 2001
From: Marian Koncek <mkoncek@redhat.com>
Date: Wed, 4 Dec 2019 16:18:31 +0100
Subject: [PATCH] CVE-2019-17531
---
.../jackson/databind/jsontype/impl/SubTypeValidator.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java
index 64e1373..907adcd 100644
--- a/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java
+++ b/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java
@@ -82,6 +82,10 @@ public class SubTypeValidator
// [databind#2389]: logback/jndi
s.add("ch.qos.logback.core.db.JNDIConnectionSource");
+ // [databind#2498]: log4j-extras (1.2)
+ s.add("org.apache.log4j.receivers.db.DriverManagerConnectionSource");
+ s.add("org.apache.log4j.receivers.db.JNDIConnectionSource");
+
DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
}
--
2.21.0