[Git][java-team/jackson-databind][jessie] 2 commits: Add CVE-2019-12086.patch

Markus Koschany gitlab at salsa.debian.org
Tue May 21 12:43:18 BST 2019



Markus Koschany pushed to branch jessie at Debian Java Maintainers / jackson-databind


Commits:
14410981 by Markus Koschany at 2019-05-20T20:39:16Z
Add CVE-2019-12086.patch

- - - - -
24f508a1 by Markus Koschany at 2019-05-20T20:51:29Z
Update changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/CVE-2019-12086.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+jackson-databind (2.4.2-2+deb8u6) jessie-security; urgency=high
+
+  * Non-maintainer upload by the LTS team.
+  * Fix CVE-2019-12086:
+    A Polymorphic Typing issue was discovered in jackson-databind.
+    When Default Typing is enabled (either globally or for a specific property)
+    for an externally exposed JSON endpoint, the service has the
+    mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an
+    attacker can host a crafted MySQL server reachable by the victim, an
+    attacker can send a crafted JSON message that allows them to read arbitrary
+    local files on the server. This occurs because of missing
+    com.mysql.cj.jdbc.admin.MiniAdmin validation.
+
+ -- Markus Koschany <apo at debian.org>  Mon, 20 May 2019 22:39:35 +0200
+
 jackson-databind (2.4.2-2+deb8u5) jessie-security; urgency=high
 
   * Non-maintainer upload by the LTS team.


=====================================
debian/patches/CVE-2019-12086.patch
=====================================
@@ -0,0 +1,24 @@
+From: Markus Koschany <apo at debian.org>
+Date: Mon, 20 May 2019 22:33:22 +0200
+Subject: CVE-2019-12086
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929177
+Bug-Upstream: https://github.com/FasterXML/jackson-databind/issues/2326
+---
+ .../com/fasterxml/jackson/databind/deser/BeanDeserializerFactory.java  | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerFactory.java b/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerFactory.java
+index fe24bae..0ed0d5e 100644
+--- a/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerFactory.java
++++ b/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerFactory.java
+@@ -106,6 +106,9 @@ public class BeanDeserializerFactory
+         s.add("org.apache.openjpa.ee.JNDIManagedRuntime");
+         s.add("org.apache.axis2.transport.jms.JMSOutTransportInfo");
+ 
++        // [databind#2326] (2.9.9): one more 3rd party gadget
++        s.add("com.mysql.cj.jdbc.admin.MiniAdmin");
++
+         DEFAULT_NO_DESER_CLASS_NAMES = Collections.unmodifiableSet(s);
+     }
+ 


=====================================
debian/patches/series
=====================================
@@ -10,3 +10,4 @@ CVE-2018-11307.patch
 CVE-2018-12022.patch
 CVE-2018-14718.patch
 CVE-2018-19360.patch
+CVE-2019-12086.patch



View it on GitLab: https://salsa.debian.org/java-team/jackson-databind/compare/b3b70e6fe2fd6295bae492ff0af867948555a75f...24f508a1daefcad8d1be734ae44b399b55ae99a3

-- 
View it on GitLab: https://salsa.debian.org/java-team/jackson-databind/compare/b3b70e6fe2fd6295bae492ff0af867948555a75f...24f508a1daefcad8d1be734ae44b399b55ae99a3
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190521/74f38920/attachment.html>


More information about the pkg-java-commits mailing list