Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: org.apache.commons:commons-lang3
- Introduced through: org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-lang3@3.8.1
Overview
Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.
Remediation
Upgrade org.apache.commons:commons-lang3 to version 3.18.0 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-core
- Introduced through: com.fasterxml.jackson.core:jackson-core@2.9.10, com.fasterxml.jackson.core:jackson-databind@2.9.10.1 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
Overview
com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation
Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing input size validation when performing numeric type conversions. A remote attacker can exploit this vulnerability by causing the application to deserialize data containing certain numeric types with large values, causing the application to exhaust all available resources.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-core
- Introduced through: com.fasterxml.jackson.core:jackson-core@2.9.10, com.fasterxml.jackson.core:jackson-databind@2.9.10.1 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.15.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
Overview
com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation
Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to the parse process, which accepts an unlimited input file with deeply nested data. An attacker can cause a stack overflow and crash the application by providing input files with excessively deep nesting.
Remediation
Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 or higher.
References
high severity
- Vulnerable module: com.typesafe.akka:akka-http-core_2.12
- Introduced through: com.typesafe.akka:akka-http_2.12@10.1.10, com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http_2.12@10.5.3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http-spray-json_2.12@10.1.6 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.12@10.5.3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10
Overview
com.typesafe.akka:akka-http-core_2.12 is a Scala implementation of the akka-http-core library which provides a streaming-first HTTP server and client.
Affected versions of this package are vulnerable to Denial of Service (DoS) in the implementation of the HTTP/2 protocol. An attacker can cause a denial of service (including via DDoS) by rapidly resetting many streams through request cancellation.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade com.typesafe.akka:akka-http-core_2.12 to version 10.5.3 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.7.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. A flaw was found in FasterXML Jackson Databind, where it does not have entity expansion secured properly in the DOMDeserializer class. The highest threat from this vulnerability is data integrity.
Details
XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.
Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.
For example, below is a sample XML document, containing an XML element- username.
<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<username>John</username>
</xml>
An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.
<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
<username>&xxe;</username>
</xml>
Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.7, 2.10.5.1 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.6.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to com.pastdev.httpcomponents.configuration.JndiConfiguration.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.6 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to the class ignite-jta.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.dbcp2.datasources.PerUserPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.dbcp2.datasources.SharedPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (aka embedded Xalan in org.glassfish.web/javax.servlet.jsp.jstl).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp.datasources.SharedPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.docx4j.org.apache.xalan.lib.sql.JNDIConnectionPool.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to oadd.org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp2.datasources.SharedPoolDataSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.8.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp.cpdsadapter.DriverAdapterCPDS.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.8 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.7.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. A malicious user could perform a SSRF attack via the javax.swing gadget (specifically javax.swing.JTextPane).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.5, 2.9.10.7 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.2.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. Two additional net.sf.ehcache gadgets are not blacklisted.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.10.2 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to an incomplete black list (incomplete fix for CVE-2017-7525).
It lacks xbean-reflect/JNDI blocking, as demonstrated by org.apache.xbean.propertyeditor.JndiConverter.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.7.9.7, 2.8.11.5, 2.9.10.3 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. Mishandles the interaction between serialization gadgets and typing, related to:
com.ibatis.sqlmap.engine.transaction.jta.JtaTransactionConfig(akaibatis-sqlmap)br.com.anteros.dbcp.AnterosDBCPConfig(akaanteros-core)org.apache.hadoop.shaded.com.zaxxer.hikari.HikariConfig(aka shadedhikari-config)
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.7.9.7, 2.8.11.6, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to an incomplete black list (incomplete fix for CVE-2017-7525).
It doesn't block common-configuration JNDI classes org.apache.commons.configuration.JNDIConfiguration and org.apache.commons.configuration2.JNDIConfiguration.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.3, 2.8.11.5, 2.9.10.3 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to com.caucho.config.types.ResourceRef (aka caucho-quercus).
Note: This vulnerability does not affect release 2.10.0 onward.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.apache.aries.transaction.jms.internal.XaPooledConnectionFactory (aka aries.transaction.jms).
Note: This vulnerability does not affect release 2.10.0 onward.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to gadget javax.swing.JEditorPane.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.7.9.7, 2.8.11.6, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to gadget org.aoju.bus.proxy.provider.remoting.RmiProvider (aka bus-proxy).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to gadget org.apache.openjpa.ee.WASRegistryManagedRuntime (aka openjpa).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to gadgets org.apache.activemq.* (aka activemq-jms, activemq-core, activemq-pool, and activemq-pool-jms).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to gadget org.apache.commons.proxy.provider.remoting.RmiProvider (aka apache/commons-proxy).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.jelly.impl.Embedded (aka commons-jelly).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.4.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.0-1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to org.springframework.aop.config.MethodLocatingFactoryBean (aka spring-aop).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.4 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.5.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It is possible to conduct a Deserialization attack using the com.sun.org.apache.xalan.internal.lib.sql.JNDIConnectionPool (xalan2) class gadget if polymorphic type handling is enabled and an application using this package allows user input which gets deserialized.
Note: This vulnerability does not affect release 2.10.0 onward.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.5 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.5.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The package mishandles the interaction between serialization gadgets and typing, related to org.jsecurity.realm.jndi.JndiRealmFactory.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.5 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.5.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It is possible to conduct a Deserialization attack using the oadd.org.apache.xalan.lib.sql.JNDIConnectionPool (apache/drill) class gadget if polymorphic type handling is enabled and an application using this package allows user input which gets deserialized.
Note: This vulnerability does not affect release 2.10.0 onward.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.5 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.5.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It is possible to conduct a Deserialization attack using any of the following class gadget available within weblogic/oracle-aqjms if polymorphic type handling is enabled and an application using this package allows user input which gets deserialized.
- oracle.jms.AQjmsQueueConnectionFactory
- oracle.jms.AQjmsXATopicConnectionFactory
- oracle.jms.AQjmsTopicConnectionFactory
- oracle.jms.AQjmsXAQueueConnectionFactory
- oracle.jms.AQjmsXAConnectionFactory
Note: This vulnerability does not affect release 2.10.0 onward.
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating objects from a sequence of bytes is called deserialization. Deserialization of untrusted data (CWE-502) occurs when an application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing the attacker to control the state or the flow of the execution.
com.fasterxml.jackson.core:jackson-databind allows deserialization of JSON input to Java objects. If an application using this dependency has the ability to deserialize a JSON string from an untrusted source, an attacker could leverage this vulnerability to conduct deserialization attacks.
Exploitation of unsafe deserialization attacks through jackson-databind requires the following prerequisites:
1. The target application allowing JSON user input which is processed by jackson-databind
An application using jackson-databind is only vulnerable if a user-provided JSON data is deserialized.
2. Polymorphic type handling for properties with nominal type are enabled
Polymorphic type handling refers to the addition of enough type information so that the deserializer can instantiate the appropriate subtype of a value. Use of "default typing" is considered dangerous due to the possibility of an untrusted method (gadget) managing to specify a class that is accessible through the class-loader and therefore, exposing a set of methods and/or fields.
3. An exploitable gadget class is available for the attacker to leverage
Gadget chains are specially crafted method sequences that can be created by an attacker in order to change the flow of code execution. These gadgets are often methods introduced by third-party components which an attacker could utilise in order to attack the target application. Not every gadget out there is supported by jackson-databind. The maintainers of jackson-databind proactively blacklists possible serialization gadgets in an attempt to ensure that it is not possible for an attacker to chain gadgets during serialization.
Further reading:
- On Jackson CVEs: Don’t Panic on Medium
- NCC Group Jackson Deserialization WhitePaper
- Java Security Best Practices
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.5 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.9.10.6.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Deserialization of Untrusted Data. It mishandles the interaction between serialization gadgets and typing, related to br.com.anteros.dbcp.AnterosDBCPDataSource (aka Anteros-DBCP).
Details
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution.
Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products.
An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
Developers put too much trust in Java Object Serialization. Some even de-serialize objects pre-authentication. When deserializing an Object in Java you typically cast it to an expected type, and therefore Java's strict type system will ensure you only get valid object trees. Unfortunately, by the time the type checking happens, platform code has already created and executed significant logic. So, before the final type is checked a lot of code is executed from the readObject() methods of various objects, all of which is out of the developer's control. By combining the readObject() methods of various classes which are available on the classpath of the vulnerable application, an attacker can execute functions (including calling Runtime.exec() to execute local OS commands).
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.6.7.4, 2.9.10.6 or higher.
References
high severity
- Vulnerable module: org.apache.commons:commons-compress
- Introduced through: org.apache.commons:commons-compress@1.19 and org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.apache.commons:commons-compress@1.19Remediation: Upgrade to org.apache.commons:commons-compress@1.26.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-compress@1.19
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Infinite loop due to the improper handling of certain inputs during the parsing of dump files. An attacker can cause the application to enter an infinite loop by supplying crafted inputs.
Remediation
Upgrade org.apache.commons:commons-compress to version 1.26.0 or higher.
References
high severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.18.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Denial of Service (DoS) via a large depth of nested objects.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.6.1, 2.13.2.1 or higher.
References
high severity
- Vulnerable module: com.nimbusds:nimbus-jose-jwt
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@9.37.2.
Overview
com.nimbusds:nimbus-jose-jwt is a library for JSON Web Tokens (JWT)
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to a large JWE p2c header value (AKA iteration count) for the PasswordBasedDecrypter (PBKDF2) class. An attacker can cause resource consumption by specifying an excessively large iteration count.
Remediation
Upgrade com.nimbusds:nimbus-jose-jwt to version 9.37.2 or higher.
References
high severity
- Vulnerable module: com.typesafe.akka:akka-http-core_2.12
- Introduced through: com.typesafe.akka:akka-http_2.12@10.1.10, com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http_2.12@10.1.15.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http-spray-json_2.12@10.1.6 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.12@10.1.15.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
com.typesafe.akka:akka-http-core_2.12 is a Scala implementation of the akka-http-core library which provides a streaming-first HTTP server and client.
Affected versions of this package are vulnerable to Improper Resource Shutdown or Release which can encounter stack exhaustion while parsing HTTP headers. It allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with deeply nested comments.
Remediation
Upgrade com.typesafe.akka:akka-http-core_2.12 to version 10.2.7, 10.1.15 or higher.
References
high severity
- Vulnerable module: net.minidev:json-smart
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14 › net.minidev:json-smart@2.3Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@9.0.
Overview
net.minidev:json-smart is a Java JSON parser.
Affected versions of this package are vulnerable to Denial of Service (DoS) due to a StackOverflowError when parsing a deeply nested JSON array or object.
NOTE: Although this vulnerability was fixed in version 2.4.9 the maintainer recommends upgrading to 2.4.10, due to a remaining bug.
PoC
StringBuilder s = new StringBuilder();
for (int i = 0; i < 10000 ; i++) {
s.append("{\"a\":");
}
s.append("1");
for (int i = 0; i < 10000 ; i++) {
s.append("}");
}
JSONParser p = new JSONParser(JSONParser.MODE_JSON_SIMPLE);
p.parse(s.toString());
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade net.minidev:json-smart to version 2.4.9 or higher.
References
high severity
- Vulnerable module: org.apache.commons:commons-compress
- Introduced through: org.apache.commons:commons-compress@1.19 and org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.apache.commons:commons-compress@1.19Remediation: Upgrade to org.apache.commons:commons-compress@1.21.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-compress@1.19
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted ZIP archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' zip package.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.apache.commons:commons-compress to version 1.21 or higher.
References
high severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to org.bouncycastle:bcprov-jdk15on@1.61.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to com.pauldijou:jwt-core_2.12@3.0.0.
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Information Exposure. Attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.
Remediation
Upgrade org.bouncycastle:bcprov-jdk15on to version 1.61 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
medium severity
- Vulnerable module: com.nimbusds:nimbus-jose-jwt
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@9.37.4.
Overview
com.nimbusds:nimbus-jose-jwt is a library for JSON Web Tokens (JWT)
Affected versions of this package are vulnerable to Uncontrolled Recursion due to the improper handling JWT claim sets containing deeply nested JSON objects. An attacker can cause application downtime or resource exhaustion by submitting a specially crafted JWT with excessive nesting.
Note:
This issue only affects nimbus-jose-jwt, not Gson because the Connect2id product could have checked the JSON object nesting depth, regardless of what limits (if any) were imposed by Gson.
PoC
import com.nimbusds.jwt.JWTClaimsSet;
import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;
public class Test {
// This builds a claimset with a deeply nested map, which could theoretically be supplied by a client.
// If the JWT is serialized into JSON (for example, in logging or debugging), it can cause a StackOverflowError.
public static void main(String[] args) throws ParseException {
Map<String, Object> nestedMap = new HashMap<>();
Map<String, Object> currentLevel = nestedMap;
for (int i = 0; i < 5000; i++) {
Map<String, Object> nextLevel = new HashMap<>();
currentLevel.put("", nextLevel);
currentLevel = nextLevel;
}
JWTClaimsSet claimSet = JWTClaimsSet.parse(nestedMap);
// This will cause a StackOverflowError due to excessive recursion in GSON's serialization
claimSet.toString();
}
}
Remediation
Upgrade com.nimbusds:nimbus-jose-jwt to version 9.37.4, 10.0.2 or higher.
References
medium severity
- Vulnerable module: org.apache.commons:commons-compress
- Introduced through: org.apache.commons:commons-compress@1.19 and org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.apache.commons:commons-compress@1.19Remediation: Upgrade to org.apache.commons:commons-compress@1.21.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-compress@1.19
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.apache.commons:commons-compress to version 1.21 or higher.
References
medium severity
- Vulnerable module: org.apache.commons:commons-compress
- Introduced through: org.apache.commons:commons-compress@1.19 and org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.apache.commons:commons-compress@1.19Remediation: Upgrade to org.apache.commons:commons-compress@1.21.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-compress@1.19
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.apache.commons:commons-compress to version 1.21 or higher.
References
medium severity
- Vulnerable module: org.apache.commons:commons-compress
- Introduced through: org.apache.commons:commons-compress@1.19 and org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.apache.commons:commons-compress@1.19Remediation: Upgrade to org.apache.commons:commons-compress@1.21.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › org.apache.commons:commons-compress@1.19
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.apache.commons:commons-compress to version 1.21 or higher.
References
medium severity
- Vulnerable module: org.webjars:jquery
- Introduced through: org.webjars:jquery@3.4.0 and org.webjars:bootstrap@4.3.1
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:jquery@3.4.0Remediation: Upgrade to org.webjars:jquery@3.5.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:bootstrap@4.3.1 › org.webjars:jquery@3.4.0Remediation: Upgrade to org.webjars:bootstrap@4.5.0.
Overview
org.webjars:jquery is a JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.
Remediation
Upgrade org.webjars:jquery to version 3.5.0 or higher.
References
medium severity
- Vulnerable module: org.webjars:requirejs
- Introduced through: org.webjars:webjars-play_2.12@2.7.3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:requirejs@2.3.6
Overview
Affected versions of this package are vulnerable to Prototype Pollution via the config() function, due to improper sanitization of its parameter content.
Note:
According to the maintainer, this library is no longer maintained and will not receive any updates in the near future.
PoC
var requirejs= require("requirejs")
BAD_JSON = JSON.parse('{"__proto__":{"test":123}}');
BAD_JSON2= JSON.parse('{"constructor": {"prototype": {"test": 123}}}');
console.log("Before: " + {}.test)
requirejs.config(BAD_JSON)
//requirejs.config(BAD_JSON2)
console.log("After: " + {}.test) //return:123
Details
Prototype Pollution is a vulnerability affecting JavaScript. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. JavaScript allows all Object attributes to be altered, including their magical attributes such as __proto__, constructor and prototype. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. Properties on the Object.prototype are then inherited by all the JavaScript objects through the prototype chain. When that happens, this leads to either denial of service by triggering JavaScript exceptions, or it tampers with the application source code to force the code path that the attacker injects, thereby leading to remote code execution.
There are two main ways in which the pollution of prototypes occurs:
Unsafe
Objectrecursive mergeProperty definition by path
Unsafe Object recursive merge
The logic of a vulnerable recursive merge function follows the following high-level model:
merge (target, source)
foreach property of source
if property exists and is an object on both the target and the source
merge(target[property], source[property])
else
target[property] = source[property]
When the source object contains a property named __proto__ defined with Object.defineProperty() , the condition that checks if the property exists and is an object on both the target and the source passes and the merge recurses with the target, being the prototype of Object and the source of Object as defined by the attacker. Properties are then copied on the Object prototype.
Clone operations are a special sub-class of unsafe recursive merges, which occur when a recursive merge is conducted on an empty object: merge({},source).
lodash and Hoek are examples of libraries susceptible to recursive merge attacks.
Property definition by path
There are a few JavaScript libraries that use an API to define property values on an object based on a given path. The function that is generally affected contains this signature: theFunction(object, path, value)
If the attacker can control the value of “path”, they can set this value to __proto__.myValue. myValue is then assigned to the prototype of the class of the object.
Types of attacks
There are a few methods by which Prototype Pollution can be manipulated:
| Type | Origin | Short description |
|---|---|---|
| Denial of service (DoS) | Client | This is the most likely attack. DoS occurs when Object holds generic functions that are implicitly called for various operations (for example, toString and valueOf). The attacker pollutes Object.prototype.someattr and alters its state to an unexpected value such as Int or Object. In this case, the code fails and is likely to cause a denial of service. For example: if an attacker pollutes Object.prototype.toString by defining it as an integer, if the codebase at any point was reliant on someobject.toString() it would fail. |
| Remote Code Execution | Client | Remote code execution is generally only possible in cases where the codebase evaluates a specific attribute of an object, and then executes that evaluation. For example: eval(someobject.someattr). In this case, if the attacker pollutes Object.prototype.someattr they are likely to be able to leverage this in order to execute code. |
| Property Injection | Client | The attacker pollutes properties that the codebase relies on for their informative value, including security properties such as cookies or tokens. For example: if a codebase checks privileges for someuser.isAdmin, then when the attacker pollutes Object.prototype.isAdmin and sets it to equal true, they can then achieve admin privileges. |
Affected environments
The following environments are susceptible to a Prototype Pollution attack:
Application server
Web server
Web browser
How to prevent
Freeze the prototype— use
Object.freeze (Object.prototype).Require schema validation of JSON input.
Avoid using unsafe recursive merge functions.
Consider using objects without prototypes (for example,
Object.create(null)), breaking the prototype chain and preventing pollution.As a best practice use
Mapinstead ofObject.
For more information on this vulnerability type:
Arteau, Oliver. “JavaScript prototype pollution attack in NodeJS application.” GitHub, 26 May 2018
Remediation
Upgrade org.webjars:requirejs to version 2.3.7 or higher.
References
medium severity
- Vulnerable module: com.nimbusds:nimbus-jose-jwt
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@7.8.1.
Overview
com.nimbusds:nimbus-jose-jwt is a library for JSON Web Tokens (JWT)
Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions. Can throw various uncaught exceptions while parsing a JWT, which could result in an application crash (potential information disclosure) or a potential authentication bypass.
Remediation
Upgrade com.nimbusds:nimbus-jose-jwt to version 7.8.1 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the ASN1ObjectIdentifier. An attacker can cause excessive resource consumption by submitting specially crafted ASN.1 Object Identifiers, potentially leading to service disruption.
Note: This issue only applies to applications which do consume unvetted, or otherwise unvalidated, ASN.1 encodings.
Remediation
A fix was pushed into the master branch but not yet published.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to improper processing of large name constraint structures in PKIXCertPathReviewer. An attacker can cause excessive resource allocation by submitting specially crafted ASN.1 objects, potentially leading to service disruption.
Workaround
This vulnerability can be mitigated by limiting the size of ASN.1 objects that can be loaded from untrusted sources, thereby capping the maximum size of a Name Constraints structure.
Remediation
A fix was pushed into the master branch but not yet published.
References
medium severity
- Vulnerable module: org.webjars:jquery
- Introduced through: org.webjars:jquery@3.4.0 and org.webjars:bootstrap@4.3.1
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:jquery@3.4.0Remediation: Upgrade to org.webjars:jquery@3.5.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:bootstrap@4.3.1 › org.webjars:jquery@3.4.0Remediation: Upgrade to org.webjars:bootstrap@4.5.0.
Overview
org.webjars:jquery is a JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS)
Passing HTML containing <option> elements from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.
NOTE: This vulnerability was also assigned CVE-2020-23064.
Details
Remediation
Upgrade org.webjars:jquery to version 3.5.0 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores via the conditional processing of the logback.xml configuration file when both the Janino library and Spring Framework are present on the class path. An attacker can execute arbitrary code by compromising an existing configuration file or injecting a malicious environment variable before program execution. This is only exploitable if the attacker has write access to a configuration file or can set a malicious environment variable.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.5.19 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.18.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeFromArray() function in BeanDeserializer, due to resource exhaustion when processing a deeply nested array.
NOTE:
For this vulnerability to be exploitable the non-default DeserializationFeature must be enabled.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.7.1, 2.13.4 or higher.
References
medium severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-databind
- Introduced through: com.fasterxml.jackson.core:jackson-databind@2.9.10.1, org.webjars:webjars-play_2.12@2.7.3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1
Overview
com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.
Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeWrappedValue() function in StdDeserializer.java, due to resource exhaustion when processing deeply nested arrays.
NOTE: This vulnerability is only exploitable when the non-default UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.7.1, 2.13.4.1 or higher.
References
medium severity
- Vulnerable module: com.typesafe.play:play_2.12
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
com.typesafe.play:play_2.12 is a library for building scalable web applications with Java and Scala.
Affected versions of this package are vulnerable to Information Exposure due to the generation of error messages containing sensitive information. Play Framework, when run in dev mode, shows verbose errors for easy debugging, including an exception stack trace. Play does this by configuring its DefaultHttpErrorHandler to do so based on the application mode. Its Scala API Play also provides a static object DefaultHttpErrorHandler configured to always show verbose errors. This is used as a default value in some Play APIs, so it is possible to inadvertently use this version in production. It is also possible to improperly configure the DefaultHttpErrorHandler object instance as the injected error handler. Both of these situations could result in verbose errors displayed to users in a production application, which could expose sensitive information from the application. In particular, the constructor for CORSFilter and apply method for CORSActionBuilder use the static object DefaultHttpErrorHandler as a default value.
Workaround
When constructing a CORSFilter or CORSActionBuilder, ensure that a properly-configured error handler is passed. Generally, this should be done by using the HttpErrorHandler instance provided through dependency injection or through Play's BuiltInComponents. Ensure that the application is not using the DefaultHttpErrorHandler static object in any code that may be run in production.
Remediation
Upgrade com.typesafe.play:play_2.12 to version 2.8.16 or higher.
References
medium severity
- Vulnerable module: net.minidev:json-smart
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14 › net.minidev:json-smart@2.3Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@8.21.1.
Overview
net.minidev:json-smart is a Java JSON parser.
Affected versions of this package are vulnerable to Denial of Service (DoS). An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade net.minidev:json-smart to version 1.3.2, 2.3.1, 2.4.1 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Observable Discrepancy due to the timing difference between exceptions thrown when processing RSA key exchange handshakes, AKA Marvin.
Note: The implemented fix mitigates the leakage of data via the PKCS#1 interface, but does not fully alleviate the side-channel as it allows cases in which the padding check fails but the handshake succeeds.
Remediation
There is no fixed version for org.bouncycastle:bcprov-jdk15on.
References
medium severity
- Vulnerable module: com.typesafe.akka:akka-actor_2.12
- Introduced through: com.typesafe.akka:akka-stream_2.12@2.5.16 and com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16Remediation: Upgrade to com.typesafe.akka:akka-stream_2.12@2.8.1.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.akka:akka-slf4j_2.12@2.5.23 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-streams_2.12@2.7.3 › com.typesafe.akka:akka-stream_2.12@2.5.16 › com.typesafe.akka:akka-actor_2.12@2.5.16
Overview
com.typesafe.akka:akka-actor_2.12 is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.
Affected versions of this package are vulnerable to Generation of Predictable Numbers or Identifiers in the async-dns resolver component, which is used by Discovery in DNS mode and transitively by Cluster Bootstrap. It uses predictable DNS transaction IDs when resolving DNS records, making DNS resolution subject to poisoning by an attacker. If the application performing discovery does not validate (e.g., via TLS) the authenticity of the discovered service, this may result in exfiltration of application data (e.g., persistence events may be published to an unintended Kafka broker). If such validation is performed, then the poisoning constitutes a denial of access to the intended service.
The complexity of a successful attack using this vulnerability is high because the attacker must gather or guess details about the services accessible via the affected DNS server.
Remediation
Upgrade com.typesafe.akka:akka-actor_2.12 to version 2.8.1 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') within the org.bouncycastle.openssl.PEMParser class. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError.
Workaround
The attack can be avoided by filtering PEM requests containing EXTERNAL tagged encodings.
Remediation
There is no fixed version for org.bouncycastle:bcprov-jdk15on.
References
medium severity
- Vulnerable module: net.minidev:json-smart
- Introduced through: com.nimbusds:nimbus-jose-jwt@5.14
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.nimbusds:nimbus-jose-jwt@5.14 › net.minidev:json-smart@2.3Remediation: Upgrade to com.nimbusds:nimbus-jose-jwt@8.21.1.
Overview
net.minidev:json-smart is a Java JSON parser.
Affected versions of this package are vulnerable to Denial of Service (DoS) via the indexOf function of JSONParserByteArray which causes a denial of service (DOS) via a crafted web request.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade net.minidev:json-smart to version 1.3.3, 2.4.5 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to org.bouncycastle:bcprov-jdk15on@1.66.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to com.pauldijou:jwt-core_2.12@3.0.0.
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Timing Attack. A timing issue within the EC math library can expose information about the private key when an attacker is able to observe timing information for the generation of multiple deterministic ECDSA signatures.
Remediation
Upgrade org.bouncycastle:bcprov-jdk15on to version 1.66 or higher.
References
medium severity
- Vulnerable module: com.fasterxml.jackson.core:jackson-core
- Introduced through: com.fasterxml.jackson.core:jackson-core@2.9.10, com.fasterxml.jackson.core:jackson-databind@2.9.10.1 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.13.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.webjars:webjars-play_2.12@2.7.3 › org.webjars:webjars-locator@0.36 › org.webjars:webjars-locator-core@0.37 › com.fasterxml.jackson.core:jackson-core@2.9.10Remediation: Upgrade to org.webjars:webjars-play_2.12@2.8.13.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.typesafe.play:play-json_2.12@2.7.4 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › io.jsonwebtoken:jjwt@0.9.1 › com.fasterxml.jackson.core:jackson-databind@2.9.10.1 › com.fasterxml.jackson.core:jackson-core@2.9.10
Overview
com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation
Affected versions of this package are vulnerable to Information Exposure due to the JsonLocation._appendSourceDesc method. An attacker can access up to 500 bytes of unintended memory content by exploiting exception messages that incorrectly read from the beginning of a byte array instead of the logical payload start.
Workaround
This vulnerability can be mitigated by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.
PoC
byte[] buffer = new byte[1000];
System.arraycopy("SECRET".getBytes(), 0, buffer, 0, 6);
System.arraycopy("{ \"bad\": }".getBytes(), 0, buffer, 700, 10);
JsonFactory factory = new JsonFactory();
JsonParser parser = factory.createParser(buffer, 700, 20);
parser.nextToken(); // throws exception
// Exception message will include "SECRET"
Remediation
Upgrade com.fasterxml.jackson.core:jackson-core to version 2.13.0-rc1 or higher.
References
medium severity
- Vulnerable module: com.typesafe.akka:akka-http-core_2.12
- Introduced through: com.typesafe.akka:akka-http_2.12@10.1.10, com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http_2.12@10.1.14.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http-spray-json_2.12@10.1.6 › com.typesafe.akka:akka-http_2.12@10.1.10 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.12@10.1.14.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.akka:akka-http-core_2.12@10.1.10Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
com.typesafe.akka:akka-http-core_2.12 is a Scala implementation of the akka-http-core library which provides a streaming-first HTTP server and client.
Affected versions of this package are vulnerable to HTTP Request Smuggling. It allows multiple Transfer-Encoding headers.
Remediation
Upgrade com.typesafe.akka:akka-http-core_2.12 to version 10.2.4, 10.1.14 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Insufficient Hostname Verification. X.509 are not properly validated. By spoofing the TLS/SSL server via a certificate that appears valid, an attacker with the ability to intercept network traffic (e.g. MitM, DNS cache poisoning) can disclose and optionally manipulate transmitted data.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.7 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to org.bouncycastle:bcprov-jdk15on@1.69.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60Remediation: Upgrade to com.pauldijou:jwt-core_2.12@3.0.0.
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Cryptographic Issues via weak key-hash message authentication code (HMAC) that is only 16 bits long which can result in hash collisions, as a result of an error within the BKS version 1 keystore (BKS-V1) files and could lead to an attacker being able to affect the integrity of these files. This vulnerability was introduced following an incomplete fix for CVE-2018-5382.
Remediation
Upgrade org.bouncycastle:bcprov-jdk15on to version 1.69 or higher.
References
medium severity
- Vulnerable module: com.typesafe.akka:akka-http_2.12
- Introduced through: com.typesafe.akka:akka-http_2.12@10.1.10 and com.typesafe.akka:akka-http-spray-json_2.12@10.1.6
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http_2.12@10.5.2.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.typesafe.akka:akka-http-spray-json_2.12@10.1.6 › com.typesafe.akka:akka-http_2.12@10.1.10Remediation: Upgrade to com.typesafe.akka:akka-http-spray-json_2.12@10.5.2.
Overview
Affected versions of this package are vulnerable to Creation of Temporary File With Insecure Permissions such that when it accepts file uploads via the FileUploadDirectives.fileUploadAll directive, the temporary file it creates has too weak permissions and it is readable by other users on Linux or UNIX.
Note: This issue is similar to CVE-2022-41946.
Remediation
Upgrade com.typesafe.akka:akka-http_2.12 to version 10.5.2 or higher.
References
medium severity
- Vulnerable module: org.bouncycastle:bcprov-jdk15on
- Introduced through: org.bouncycastle:bcprov-jdk15on@1.60 and com.pauldijou:jwt-core_2.12@1.0.0
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › org.bouncycastle:bcprov-jdk15on@1.60
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.pauldijou:jwt-core_2.12@1.0.0 › org.bouncycastle:bcpkix-jdk15on@1.60 › org.bouncycastle:bcprov-jdk15on@1.60
Overview
org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.
Affected versions of this package are vulnerable to Information Exposure due to missing validation for the X.500 name of any certificate, subject, or issuer. The presence of a wild card may lead to information disclosure. This could allow a malicious user to obtain unauthorized information via blind LDAP Injection, exploring the environment and enumerating data.
Note:
The exploit depends on the structure of the target LDAP directory as well as what kind of errors are exposed to the user.
Remediation
A fix was pushed into the master branch but not yet published.
References
medium severity
- Vulnerable module: com.typesafe.play:play_2.12
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3Remediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
com.typesafe.play:play_2.12 is a library for building scalable web applications with Java and Scala.
Affected versions of this package are vulnerable to Security Bypass. In some situations, Play’s contentType.blackList for Cross-Site Request Forgery (CSRF) protection could be bypassed by sending a malformed Content-Type.
Remediation
Upgrade com.typesafe.play:play_2.12 to version 2.7.5, 2.8.2 or higher.
References
medium severity
- Module: ch.qos.logback:logback-classic
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Dual license: EPL-1.0, LGPL-2.1
low severity
- Vulnerable module: com.google.guava:guava
- Introduced through: com.google.guava:guava@25.1-jre, com.google.inject:guice@4.1.0 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.google.guava:guava@32.0.0-jre.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.google.inject:guice@4.1.0 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › net.codingwell:scala-guice_2.12@4.1.1 › com.google.guava:guava@25.1-jreRemediation: Upgrade to net.codingwell:scala-guice_2.12@4.2.7.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › net.codingwell:scala-guice_2.12@4.1.1 › com.google.inject:guice@4.1.0 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jre
Overview
com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.
Affected versions of this package are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the use of Java's default temporary directory for file creation in FileBackedOutputStream. Other users and apps on the machine with access to the default Java temporary directory can access the files created by this class. This more fully addresses the underlying issue described in CVE-2020-8908, by deprecating the permissive temp file creation behavior.
NOTE: Even though the security vulnerability is fixed in version 32.0.0, the maintainers recommend using version 32.0.1, as version 32.0.0 breaks some functionality under Windows.
Remediation
Upgrade com.google.guava:guava to version 32.0.0-android, 32.0.0-jre or higher.
References
low severity
- Vulnerable module: com.google.guava:guava
- Introduced through: com.google.guava:guava@25.1-jre, com.google.inject:guice@4.1.0 and others
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.google.guava:guava@30.0-jre.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.google.inject:guice@4.1.0 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.google.inject:guice@5.0.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › net.codingwell:scala-guice_2.12@4.1.1 › com.google.guava:guava@25.1-jreRemediation: Upgrade to net.codingwell:scala-guice_2.12@4.2.7.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › net.codingwell:scala-guice_2.12@4.1.1 › com.google.inject:guice@4.1.0 › com.google.guava:guava@25.1-jreRemediation: Upgrade to net.codingwell:scala-guice_2.12@5.0.0.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-akka-http-server_2.12@2.7.3 › com.typesafe.play:play-server_2.12@2.7.3 › com.typesafe.play:play_2.12@2.7.3 › com.google.guava:guava@25.1-jreRemediation: Upgrade to com.adrianhurt:play-bootstrap_2.12@1.6-P26-B3.
Overview
com.google.guava:guava is a set of core libraries that includes new collection types (such as multimap and multiset,immutable collections, a graph library, functional types, an in-memory cache and more.
Affected versions of this package are vulnerable to Information Disclosure.
The file permissions on the file created by com.google.common.io.Files.createTempDir allow an attacker running a malicious program co-resident on the same machine to steal secrets stored in this directory. This is because, by default, on unix-like operating systems the /tmp directory is shared between all users, so if the correct file permissions aren't set by the directory/file creator, the file becomes readable by all other users on that system.
PoC
File guavaTempDir = com.google.common.io.Files.createTempDir();
System.out.println("Guava Temp Dir: " + guavaTempDir.getName());
runLS(guavaTempDir.getParentFile(), guavaTempDir); // Prints the file permissions -> drwxr-xr-x
File child = new File(guavaTempDir, "guava-child.txt");
child.createNewFile();
runLS(guavaTempDir, child); // Prints the file permissions -> -rw-r--r--
For Android developers, choosing a temporary directory API provided by Android is recommended, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.
Remediation
There is no fix for com.google.guava:guava. However, in version 30.0 and above, the vulnerable functionality has been deprecated. In oder to mitigate this vulnerability, upgrade to version 30.0 or higher and ensure your dependencies don't use the createTempDir or createTempFile methods.
References
low severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3
Detailed paths
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
-
Introduced through: delphi-hub/delphi-management@delphi-hub/delphi-management#535a28e2171a8f01ecfd342f6504f02d82153096 › com.adrianhurt:play-bootstrap_2.12@1.5-P27-B3 › com.adrianhurt:play-bootstrap-core_2.12@1.5-P27 › com.typesafe.play:play-logback_2.12@2.7.3 › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the SaxEventRecorder process. An attacker can forge requests by compromising logback configuration files in XML.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.