GHSA-q5mq-6fjg-4mw8

Suggest an improvement
Source
https://github.com/advisories/GHSA-q5mq-6fjg-4mw8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-q5mq-6fjg-4mw8/GHSA-q5mq-6fjg-4mw8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q5mq-6fjg-4mw8
Aliases
Published
2021-11-19T20:42:32Z
Modified
2023-11-08T04:02:50Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-10-07T13:12:49Z",
    "nvd_published_at":  "2021-02-01T18:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / thinkjs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"