{"id":"GHSA-xqg8-cv3h-xppv","summary":"SQL Injection in sequelize","details":"Versions 2.0.0-rc-7 and earlier of `sequelize` are affected by a SQL injection vulnerability when user input is passed into the order parameter.\n\n\n\n## Proof of Concept\n\n```javascript\nTest.findAndCountAll({\nwhere: { id :1 },\norder : [['id', 'UNTRUSTED USER INPUT']]\n})\n```\n\n\n## Recommendation\n\nUpdate to version 2.0.0-rc8 or later","aliases":["CVE-2015-1369"],"modified":"2023-11-08T03:57:49.769609Z","published":"2017-10-24T18:33:36Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T22:04:08Z","nvd_published_at":null,"cwe_ids":["CWE-89"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1369"},{"type":"WEB","url":"https://github.com/sequelize/sequelize/issues/2906"},{"type":"WEB","url":"https://github.com/sequelize/sequelize/pull/2919"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xqg8-cv3h-xppv"},{"type":"PACKAGE","url":"https://github.com/sequelize/sequelize"},{"type":"WEB","url":"https://www.npmjs.com/advisories/33"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/01/23/2"}],"affected":[{"package":{"name":"sequelize","ecosystem":"npm","purl":"pkg:npm/sequelize"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0-rc8"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.0.0-rc7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-xqg8-cv3h-xppv/GHSA-xqg8-cv3h-xppv.json"}}],"schema_version":"1.9.0"}