CVE-2019-12086
JSON

7.5high

Information exposure in FasterXML jackson-databind

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
21.9% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-5ww9-j83m-q7qx

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. 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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
com.fasterxml.jackson.core:jackson-databind (Maven)from 2.9.0 before 2.9.9, from 2.8.0 before 2.8.11.4, from 2.7.0 before 2.7.9.6, from 2.0.0 before 2.6.7.3GitHub Advisory Database
fasterxml jackson-databindfrom 2.0.0 before 2.6.7.3, from 2.7.0 before 2.7.9.6, from 2.8.0 before 2.8.11.4, from 2.9.0 before 2.9.9NVD
debian debian_linux8.0, 9.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. 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.

NVD (es)

Se descubrió un problema de tipificación polimórfica en FasterXML jackson-databind 2.x antes del 2.9.9. Cuando la escritura predeterminada está habilitada (ya sea globalmente o para una propiedad específica) para un dispositivo remoto JSON expuesto externamente, el servicio tiene el myjq-connector-java jar (8.0.14 o anterior) en el classpath, y un atacante puede alojar un servidor MySQL creado accesible por la víctima, pudiendo enviar un mensaje JSON diseñado que les permite leer archivos locales arbitrarios en el servidor. Esto ocurre debido a la falta de validación com.mysql.cj.jdbc.admin.MiniAdmin.

References

https://lists.apache.org/thread.html/88cd25375805950ae7337e669b0cb0eeda98b9604c1b8d806dccbad2%40%3Creviews.spark.apache.org%3Emailing-list
https://lists.debian.org/debian-lts-announce/2019/05/msg00030.htmlmailing-list, third-party-advisory, web
https://www.debian.org/security/2019/dsa-4452third-party-advisory, vendor-advisory, web
https://seclists.org/bugtraq/2019/May/68mailing-list, third-party-advisory, web
http://www.securityfocus.com/bid/109227third-party-advisory, vdb-entry
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKUALE2TUCKEKOHE2D342PQXN4MWCSLC/vendor-advisory
https://lists.apache.org/thread.html/3f99ae8dcdbd69438cb733d745ee3ad5e852068490719a66509b4592%40%3Ccommits.cassandra.apache.org%3Emailing-list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OVRZDN2T6AZ6DJCZJ3VSIQIVHBVMVWBL/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXRVXNRFHJSQWFHPRJQRI5UPMZ63B544/vendor-advisory
https://access.redhat.com/errata/RHSA-2019:2858third-party-advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2019:2937third-party-advisory, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2019:2935third-party-advisory, vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2019-12086 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-5ww9-j83m-q7qx changed 2024-03-15CC-BY-4.0
NVDCVE-2019-12086 changed 2026-10-08Public domain