First published: Thu Oct 22 2009(Updated: )
The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
mysql-ocaml mysql-ocaml | =1.0.4 | |
MySQL Server |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2009-2942 is considered a high severity vulnerability due to the potential for remote code execution via improper input handling.
To fix CVE-2009-2942, update the mysql-ocaml bindings to a version later than 1.0.4 that properly implements the mysql_real_escape_string function.
CVE-2009-2942 affects the mysql-ocaml bindings version 1.0.4 for MySQL.
Yes, CVE-2009-2942 can be exploited remotely due to the vulnerabilities in character encoding handling.
No, the MySQL Server itself is not directly affected by CVE-2009-2942, only the mysql-ocaml bindings are vulnerable.