Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.jdbi:jdbi3-freemarker to version 3.53.0 or higher.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the FreemarkerEngine.parse() function. An attacker can execute arbitrary commands on the server by injecting malicious template code that leverages unrestricted class instantiation within the template engine. This is only exploitable if attacker-controlled input is passed to the SQL template body or to a defined attribute that is subsequently evaluated with ?eval or ?interpret.