CVE-2019-12814 — Deserialization of untrusted data in jackson-databind
Deserialization of untrusted data in FasterXML jackson-databind
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 10.90% in 30 days. Address in your next planned sprint.
Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2019-12814 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x through 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has JDOM 1.x or 2.x jar in the classpath, an attacker can send a specifically crafted JSON message that allows them to read arbitrary local files on the server.
Advisory Timeline
- First published July 17, 2019 (2689 days ago).
- Last revised March 15, 2024 — 1702 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.9.9.1 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.6.7.3 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.8.11.4 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.7.9.6 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.9.0, 2.9.0.pr1, 2.9.0.pr2, 2.9.0.pr3 (+10 more) | 2.9.9.1 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+57 more) | 2.6.7.3 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.8.0, 2.8.1, 2.8.10, 2.8.11 (+12 more) | 2.8.11.4 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+12 more) | 2.7.9.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12814ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2341WEB
- https://github.com/FasterXML/jackson-databind/commit/5f7c69bba07a7155adde130d9dee2e54a54f1fa5WEB
- https://lists.apache.org/thread.html/ee0a051428d2c719acfa297d0854a189ea5e284ef3ed491fa672f4be@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/e0733058c0366b703e6757d8d2a7a04b943581f659e9c271f0841dfe@%3Cnotifications.geode.apache.org%3EWEB
- https://lists.apache.org/thread.html/bf20574dbc2db255f1fd489942b5720f675e32a2c4f44eb6a36060cd@%3Ccommits.accumulo.apache.org%3EWEB
- https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.apache.org/thread.html/b148fa2e9ef468c4de00de255dd728b74e2a97d935f8ced31eb41ba2@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0a2b2cca072650dbd5882719976c3d353972c44f6736ddf0ba95209@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/a78239b1f11cddfa86e4edee19064c40b6272214630bfef070c37957@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/a62aa2706105d68f1c02023fe24aaa3c13b4d8a1826181fed07d9682@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/a3ae8a8c5e32c413cd27071d3a204166050bf79ce7f1299f6866338f@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/940b4c3fef002461b89a050935337056d4a036a65ef68e0bbd4621ef@%3Cdev.struts.apache.org%3EWEB
- https://lists.apache.org/thread.html/8fe2983f6d9fee0aa737e4bd24483f8f5cf9b938b9adad0c4e79b2a4@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/87e46591de8925f719664a845572d184027258c5a7af0a471b53c77b@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/71f9ffd92410a889e27b95a219eaa843fd820f8550898633d85d4ea3@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/eff7280055fc717ea8129cd28a9dd57b8446d00b36260c1caee10b87@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.debian.org/debian-lts-announce/2019/06/msg00019.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OVRZDN2T6AZ6DJCZJ3VSIQIVHBVMVWBLWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TXRVXNRFHJSQWFHPRJQRI5UPMZ63B544WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKUALE2TUCKEKOHE2D342PQXN4MWCSLCWEB
- https://security.netapp.com/advisory/ntap-20190625-0006WEB
- https://www.oracle.com/security-alerts/cpujan2020.htmlWEB
- https://www.oracle.com/security-alerts/cpujul2020.htmlWEB
- https://www.oracle.com/security-alerts/cpuoct2020.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlWEB
- https://access.redhat.com/errata/RHSA-2019:2858WEB
- https://access.redhat.com/errata/RHSA-2019:2935WEB
- https://access.redhat.com/errata/RHSA-2019:2936WEB
- https://access.redhat.com/errata/RHSA-2019:2937WEB
- https://access.redhat.com/errata/RHSA-2019:2938WEB
- https://access.redhat.com/errata/RHSA-2019:3044WEB
- https://access.redhat.com/errata/RHSA-2019:3045WEB
- https://access.redhat.com/errata/RHSA-2019:3046WEB
- https://access.redhat.com/errata/RHSA-2019:3050WEB
- https://access.redhat.com/errata/RHSA-2019:3149WEB
- https://access.redhat.com/errata/RHSA-2019:3200WEB
- https://access.redhat.com/errata/RHSA-2019:3292WEB
- https://access.redhat.com/errata/RHSA-2019:3297WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://lists.apache.org/thread.html/0d4b630d9ee724aee50703397d9d1afa2b2befc9395ba7797d0ccea9@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/129da0204c876f746636018751a086cc581e0e07bcdeb3ee22ff5731@%3Cdev.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/15a55e1d837fa686db493137cc0330c7ee1089ed9a9eea7ae7151ef1@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/1e04d9381c801b31ab28dec813c31c304b2a596b2a3707fa5462c5c0@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/28be28ffd6471d230943a255c36fe196a54ef5afc494a4781d16e37c@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/2d2a76440becb610b9a9cb49b15eac3934b02c2dbcaacde1000353e4@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/2ff264b6a94c5363a35c4c88fa93216f60ec54d1d973ed6b76a9f560@%3Cissues.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/34717424b4d08b74f65c09a083d6dd1cb0763f37a15d6de135998c1d@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/3f99ae8dcdbd69438cb733d745ee3ad5e852068490719a66509b4592@%3Ccommits.cassandra.apache.org%3EWEB
- https://lists.apache.org/thread.html/4b832d1327703d6b287a6d223307f8f884d798821209a10647e93324@%3Cnotifications.zookeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/56c8042873595b8c863054c7bfccab4bf2c01c6f5abedae249d914b9@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/5ecc333113b139429f4f05000d4aa2886974d4df3269c1dd990bb319@%3Cdev.tomee.apache.org%3EWEB
- https://lists.apache.org/thread.html/5fc0e16b7af2590bf1e97c76c136291c4fdb244ee63c65c485c9a7a1@%3Cdev.tomee.apache.org%3EWEB
Frequently Asked Questions
- What is CVE-2019-12814?
- Deserialization of untrusted data in FasterXML jackson-databind. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2019-12814?
- CVE-2019-12814 affects com.fasterxml.jackson.core:jackson-databind. It has a 10.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-12814 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This places it in the top 5% of EPSS-scored vulnerabilities — 96.6% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2020-9546CRITICAL
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2017-15095CRITICAL
jackson-databind vulnerable to deserialization flaw leading to unauthenticated remote code execution
- CVE-2019-14540CRITICAL
Polymorphic Typing issue in FasterXML jackson-databind
- CVE-2021-20190HIGH
Deserialization of untrusted data in jackson-databind
- CVE-2020-24616HIGH
Code Injection in jackson-databind
- CVE-2020-11620HIGH
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2026-59889MEDIUM
jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization
- CVE-2026-54515MEDIUM
jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties