{"id":"GHSA-hx5x-49mm-vmhw","summary":"SQL Injection in sails-mysql","details":"Versions of `sails-mysql` prior to 0.10.8 are vulnerable to SQL Injection. The `sort` keyword is not properly sanitized and may allow attackers to inject SQL statements and execute arbitrary SQL queries\n\n\n## Recommendation\n\nUpgrade to version 0.10.8 or later.","modified":"2021-09-27T22:39:39Z","published":"2020-09-03T02:36:43Z","database_specific":{"cwe_ids":["CWE-89"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:41:40Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/balderdashy/sails/issues/6679"},{"type":"PACKAGE","url":"https://github.com/balderdashy/sails"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SAILSMYSQL-174916"},{"type":"WEB","url":"https://www.npmjs.com/advisories/950"}],"affected":[{"package":{"name":"sails-mysql","ecosystem":"npm","purl":"pkg:npm/sails-mysql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-hx5x-49mm-vmhw/GHSA-hx5x-49mm-vmhw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}