CVE-2017-15095: jackson-databind vulnerable to deserialization flaw leading to unauthenticated remote code execution
Summary
CVE-2017-15095: jackson-databind vulnerable to deserialization flaw leading to unauthenticated remote code execution. Affects com.fasterxml.jackson.core:jackson-databind across 4 version ranges.
>= 2.0.0, < 2.6.7.3
>= 2.7.0, < 2.7.9.2
>= 2.8.0, < 2.8.11
>= 2.9.0, < 2.9.4
Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Also tracked for
- jackson-databind · Debian:11
The same CVE-2017-15095 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The jackson-databind package is a popular Java library used for serializing and deserializing JSON data. It provides functionality to convert JSON data to Java objects and vice versa. This vulnerability affects versions prior to 2.8.10 and 2.9.1 of the package. The vulnerability allows an unauthenticated user to execute arbitrary code by exploiting a deserialization flaw in the readValue method of the ObjectMapper class. This flaw is an extension of a previous vulnerability (CVE-2017-7525) and adds additional vulnerable classes to the blacklist.
Vulnerability Detail
The deserialization flaw in jackson-databind allows an attacker to execute arbitrary code by sending specially crafted input to the readValue method of the ObjectMapper class. This can lead to remote code execution, enabling the attacker to take control of the affected system. The vulnerability is considered critical with a CVSS score of 9.8. It affects both Maven versions of the package: com.fasterxml.jackson.core:jackson-databind:2.8.10 and com.fasterxml.jackson.core:jackson-databind:2.9.1.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 2.0.0, < 2.6.7.32.6.7.3 -
>= 2.7.0, < 2.7.9.22.7.9.2 -
>= 2.8.0, < 2.8.112.8.11 -
>= 2.9.0, < 2.9.42.9.4
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed versions of jackson-databind as mentioned in the 'how_to_fix' section.
Conclusion
The jackson-databind package is vulnerable to a deserialization flaw that allows unauthenticated remote code execution. It is crucial to upgrade to the fixed versions (2.8.11 and 2.9.4) to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for com.fasterxml.jackson.core:jackson-databind →
FAQ
jackson-databind is a Java library used for serializing and deserializing JSON data. It provides functionality to convert JSON data to Java objects and vice versa.
This vulnerability allows an unauthenticated user to execute arbitrary code, potentially leading to remote code execution and full control of the affected system.
Versions prior to 2.8.10 and 2.9.1 of jackson-databind are affected by this vulnerability.
No, there is no known workaround for this vulnerability. It is recommended to upgrade to the fixed versions of jackson-databind.
The CVSS score of this vulnerability is 9.8, indicating its critical severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.