{"id":"GHSA-q5mq-6fjg-4mw8","summary":"SQL Injection in thinkjs","details":"SQL injection vulnerability in the model.increment and model.decrement function in ThinkJS 3.2.10 allows remote attackers to execute arbitrary SQL commands via the step parameter.","aliases":["CVE-2020-21176"],"modified":"2023-11-08T04:02:50.927441Z","published":"2021-11-19T20:42:32Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-10-07T13:12:49Z","nvd_published_at":"2021-02-01T18:15:00Z","cwe_ids":["CWE-89"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176"},{"type":"WEB","url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection"},{"type":"PACKAGE","url":"https://github.com/thinkjs/thinkjs"}],"affected":[{"package":{"name":"thinkjs","ecosystem":"npm","purl":"pkg:npm/thinkjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.2.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-q5mq-6fjg-4mw8/GHSA-q5mq-6fjg-4mw8.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:H/A:H"}]}