Ubuntu CVE Tracker
UBUNTU-CVE-2019-12086
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jackson-databind | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | jackson-databind | All versions before 2.4.2-3ubuntu0.1~esm2 (fixed in 2.4.2-3ubuntu0.1~esm2) |
| Ubuntu:18.04:LTS | jackson-databind | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2019-12086
- http://russiansecurity.expert/2016/04/20/mysql-connect-file-read/
- https://github.com/FasterXML/jackson-databind/issues/2326
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.9
- https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062
- https://ubuntu.com/security/notices/USN-4813-1
- https://www.cve.org/CVERecord?id=CVE-2019-12086