CVE-2021-20190 Deserialization of untrusted data in jackson-databind
Attackers can exploit unsafe deserialization in jackson-databind to execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20190?
CVE-2021-20190 is a high-severity unsafe deserialization vulnerability in Apache Nifi, published on 19 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in jackson-databind before 2.9.10.7. FasterXML mishandles the interaction between serialization gadgets and typing. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Weakness: CWE-502
Which versions are affected by CVE-2021-20190?
5 open source packages ship an affected version, including nifi and com.fasterxml.jackson.core:jackson-databind. It affects 9 products.
| Package | Affected | Fixed in |
|---|---|---|
nifi Bitnami | From 1.7.0 to 1.12.1 | None |
com.fasterxml.jackson.core:jackson-databind Maven | All versions | 2.6.7.5 |
com.fasterxml.jackson.core:jackson-databind Maven | All versions | 2.6.7.5 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.9.10.7 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.9.10.7 |
Products include Apache Nifi, Debian Debian Linux, Fasterxml Jackson-Databind, Netapp Active Iq Unified Manager, Netapp Oncommand Api Services, Netapp Oncommand Insight and 3 more.
How do I fix CVE-2021-20190?
Upgrade to a fixed version.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-20190 being exploited?
There is no known exploitation of CVE-2021-20190 in the wild and no public exploit code.
Other vulnerabilities in Apache Nifi
- CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2017-5636 Injection in Apache NiFi
- CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Sources
Also known as BIT-nifi-2021-20190, CLEANSTART-2026-RI88730, DEBIAN-CVE-2021-20190, GHSA-5949-rw7g-wx7w, ROOT-APP-MAVEN-CVE-2021-20190, UBUNTU-CVE-2021-20190.