ADVISORIES

GitHub Advisory Database

GHSA-5ww9-j83m-q7qx

Information exposure in FasterXML jackson-databind

Details

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an attacker can host a crafted MySQL server reachable by the victim, an attacker can send a crafted JSON message that allows them to read arbitrary local files on the server. This occurs because of missing com.mysql.cj.jdbc.admin.MiniAdmin validation.

Affected packages

EcosystemPackageAffected versions
Mavencom.fasterxml.jackson.core:jackson-databind
From 2.9.0 before 2.9.9 (fixed in 2.9.9)
Mavencom.fasterxml.jackson.core:jackson-databind
From 2.8.0 before 2.8.11.4 (fixed in 2.8.11.4)
Mavencom.fasterxml.jackson.core:jackson-databind
From 2.7.0 before 2.7.9.6 (fixed in 2.7.9.6)
Mavencom.fasterxml.jackson.core:jackson-databind
From 2.0.0 before 2.6.7.3 (fixed in 2.6.7.3)

References