{"id":"CVE-2015-9244","aliases":["DEBIAN-CVE-2015-9244","EUVD-2020-1033","GHSA-fvq6-55gv-jx9f","UBUNTU-CVE-2015-9244"],"status":"published","title":"SQL Injection in mysql","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02426,"percentile":0.8432,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2018-05-29T20:00:00Z","modified":"2026-09-09T07:02:09Z","fixes":[{"ecosystem":"npm","package":"mysql","fixed_in":["2.0.0-alpha8"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-mysql","fixed_in":["2.0.0~alpha8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-mysql","fixed_in":["2.0.0~alpha8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-mysql","fixed_in":["2.0.0~alpha8-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.0-alpha7"},{"fixed":"2.0.0-alpha8"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0~alpha8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0~alpha8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0~alpha8-1"}]}]},{"source":"osv","ecosystem":"npm","package":"mysql","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0-alpha8"}]}]}],"products":[{"vendor":"hackerone","product":"mysql node module"},{"vendor":"mysqljs","product":"mysql"}],"references":[{"url":"https://github.com/felixge/node-mysql/issues/342","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","advisory","evidence","web","report"]},{"url":"https://nodesecurity.io/advisories/66","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://www.npmjs.com/advisories/66","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9244","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fvq6-55gv-jx9f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-9244","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-9244","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-9244","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-9244","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-16T16:48:28.663Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:35:40.591596Z"}],"euvd":[{"id":"EUVD-2020-1033","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-16T16:48:28Z","updated_at":"2026-11-03T00:55:48.234114Z"}],"ghsa":[{"id":"GHSA-fvq6-55gv-jx9f","title":"SQL Injection in mysql","description":"Versions of `mysql` prior to 2.0.0-alpha8 are affected by a SQL Injection vulnerability in the `mysql.escape()` function, which does not properly escape object keys.\n\n\n## Recommendation\n\nUpdate to version 2.0.0-alpha8 or later.","status":"published","published":"2020-09-01T15:21:05Z","modified":"2023-02-01T05:04:23Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:32.120868Z"}],"nvd":[{"id":"CVE-2015-9244","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"published","published":"2018-05-29T20:29:00.597Z","modified":"2026-06-17T00:36:07.507Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:03:19.244941Z"}],"osv":[{"id":"CVE-2015-9244","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"published","published":"2018-05-29T20:29:00Z","modified":"2026-04-10T03:45:38.258767Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.068991Z"},{"id":"DEBIAN-CVE-2015-9244","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"published","published":"2018-05-29T20:29:00.597Z","modified":"2026-09-09T07:02:09.35513104Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2015-9244","description":"Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.","status":"withdrawn","published":"2018-05-29T20:29:00Z","modified":"2025-07-16T07:33:43.36083Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:11.100633Z"},{"id":"GHSA-fvq6-55gv-jx9f","title":"SQL Injection in mysql","description":"Versions of `mysql` prior to 2.0.0-alpha8 are affected by a SQL Injection vulnerability in the `mysql.escape()` function, which does not properly escape object keys.\n\n\n## Recommendation\n\nUpdate to version 2.0.0-alpha8 or later.","status":"published","published":"2020-09-01T15:21:05Z","modified":"2023-11-08T03:58:04.618107Z","cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
