MariaDB: mysql_real_escape_string() incorrectly handled big5
MariaDB server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mariadb PyPI |
| No fix yet |
Original description
MariaDB server is a community developed fork of MySQL server. In versions 3.3.18 and 3.4.8, an application that was taking non-validated user input, escaping it with mysql_real_escape_string() and sending it to the database using text protocol and big5 character set was vulnerable to SQL injections, even though mysql_real_escape_string() was supposed to prevent them. This issue has been patched in versions 3.3.19 and 3.4.9.
From the CVE record · GitHub_M