{"id":"CVE-2009-2942","aliases":["DEBIAN-CVE-2009-2942","DSA-1910-1","EUVD-2009-2929","GHSA-57vp-79gr-9j72"],"status":"published","title":"The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02341,"percentile":0.83732,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2009-10-14T00:00:00Z","modified":"2026-10-23T17:47:30Z","fixes":[{"ecosystem":"Debian:12","package":"mysql-ocaml","fixed_in":["1.0.4-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mysql-ocaml","fixed_in":["1.0.4-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mysql-ocaml","fixed_in":["1.0.4-7"],"sources":["osv"]},{"ecosystem":"Debian:4.0","package":"mysql-ocaml","fixed_in":["1.0.4-2+etch1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"mysql-ocaml","fixed_in":["1.0.4-4+lenny1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mysql-ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mysql-ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mysql-ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-7"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"mysql-ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-2+etch1"}]}],"versions":["1.0.4-2","1.0.4-2+b1"]},{"source":"osv","ecosystem":"Debian:5.0","package":"mysql-ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-4+lenny1"}]}],"versions":["1.0.4-4"]}],"products":[{"vendor":"mysql-ocaml","product":"mysql-ocaml"}],"references":[{"url":"http://www.osvdb.org/59030","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/37047","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2009/dsa-1910","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:279","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-2942"},{"url":"https://github.com/advisories/GHSA-57vp-79gr-9j72"},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-2942","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-2942","description":"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.","status":"published","published":"2009-10-22T16:00:00Z","modified":"2024-08-07T06:07:37.408Z","updated_at":"2026-11-02T14:33:23.395558Z"}],"euvd":[{"id":"EUVD-2009-2929","description":"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.","status":"published","published":"2009-10-22T16:00:00Z","modified":"2024-08-07T06:07:37Z","updated_at":"2026-11-03T01:39:15.535048Z"}],"ghsa":[{"id":"GHSA-57vp-79gr-9j72","title":"The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string...","description":"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.","status":"published","published":"2022-05-02T03:40:08Z","modified":"2023-01-31T05:08:30Z","updated_at":"2026-11-02T14:49:24.756389Z"}],"nvd":[{"id":"CVE-2009-2942","description":"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.","status":"published","published":"2009-10-22T16:30:00.267Z","modified":"2026-06-16T23:10:32.743Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:37.004244Z"}],"osv":[{"id":"CVE-2009-2942","description":"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.","status":"published","published":"2009-10-22T16:30:00Z","modified":"2026-04-10T03:40:52.469726Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-2942","description":"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.","status":"published","published":"2009-10-22T16:30:00.267Z","modified":"2026-10-23T17:47:30.342693041Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-1910-1","title":"mysql-ocaml - missing escape function","status":"published","published":"2009-10-14T00:00:00Z","modified":"2026-03-09T01:20:58.91709Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
