{"schema_version":"1.9.0","id":"GHSA-fvq6-55gv-jx9f","published":"2020-09-01T15:21:05Z","modified":"2023-11-08T03:58:04.618107Z","aliases":["CVE-2015-9244"],"summary":"SQL Injection in mysql","details":"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.","affected":[{"package":{"name":"mysql","ecosystem":"npm","purl":"pkg:npm/mysql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0-alpha8"}]}],"database_specific":{"last_known_affected_version_range":"<= 2.0.0-alpha7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-fvq6-55gv-jx9f/GHSA-fvq6-55gv-jx9f.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9244"},{"type":"WEB","url":"https://github.com/felixge/node-mysql/issues/342"},{"type":"WEB","url":"https://www.npmjs.com/advisories/66"}],"database_specific":{"cwe_ids":["CWE-89"],"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:09:53Z","nvd_published_at":"2018-05-29T20:29:00Z","severity":"MODERATE"}}