Vulnerability · Published Feb 1, 2021 · Assigned by mitre
CVE-2020-21176
Critical 9.8
In plain English
A critical-severity security flaw in the thinkjs package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.5%top 25.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | thinkjs | no fix listed | GHSA-q5mq-6fjg-4mw8 |
Affected products (as reported)
References
- https://github.com/thinkjs/thinkjs x_refsource_MISC
- https://blog.jiguang.xyz/posts/thinkjs-sql-injection/ x_refsource_MISC