HoneySQL SQL injection in DSL entity name formatting
seancorfield honeysql
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| seancorfield honeysql |
| No fix yet |
Original description
HoneySQL turns Clojure data structures into SQL. From 2.0.0 until 2.7.1392, applications that pass user input or other arbitrary data into the HoneySQL `DSL` by calling `keyword` or `symbol` on that input can produce SQL strings that facilitate SQL injection when executed unchanged by a `JDBC` driver. Some formatters do not apply the existing suspicious-character check to the resulting entity names. The impact depends on the privileges of the database connection executing the generated statement. Input validation before constructing `keyword` or `symbol` entities is a workaround. The maintainer-designated fixed version is 2.7.1392.
From the CVE record · GitHub_M