[Git][java-team/jackson-databind][master] 2 commits: Add CVE-2019-12086.patch
Markus Koschany
gitlab at salsa.debian.org
Sat May 18 19:42:15 BST 2019
Markus Koschany pushed to branch master at Debian Java Maintainers / jackson-databind
Commits:
33fb5ff9 by Markus Koschany at 2019-05-18T18:31:22Z
Add CVE-2019-12086.patch
- - - - -
19043247 by Markus Koschany at 2019-05-18T18:36:46Z
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.9.8-2) unstable; urgency=medium
+
+ * Team upload.
+ * 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. (Closes: #929177)
+
+ -- Markus Koschany <apo at debian.org> Sat, 18 May 2019 20:31:28 +0200
+
jackson-databind (2.9.8-1) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/CVE-2019-12086.patch
=====================================
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sat, 18 May 2019 20:29:23 +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
+Origin: https://github.com/FasterXML/jackson-databind/commit/dda513bd7251b4f32b7b60b1c13740e3b5a43024
+---
+ .../com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java | 3 +++
+ 1 file changed, 3 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 30adb94..a17cdf5 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
+@@ -80,6 +80,9 @@ public class SubTypeValidator
+ 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
=====================================
@@ -0,0 +1 @@
+CVE-2019-12086.patch
View it on GitLab: https://salsa.debian.org/java-team/jackson-databind/compare/1c5080fa0804a0058483a841738ffb82d7c69536...190432473e29eae4813e5578dc1cd3161e93a69c
--
View it on GitLab: https://salsa.debian.org/java-team/jackson-databind/compare/1c5080fa0804a0058483a841738ffb82d7c69536...190432473e29eae4813e5578dc1cd3161e93a69c
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/20190518/63fa3060/attachment.html>
More information about the pkg-java-commits
mailing list