CVE-2022-24124
HIGH 7.5CVSS 3.1SQL Injection in Casdoor
The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.
- Published
- 29 Jan 2022
- Last modified
- 4 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-m358-g4rp-533rGO-2022-0303PYSEC-2022-43189
- Sources
- NVDJSONOSV GHSA-m358-g4rp-533rJSONOSV GO-2022-0303JSONOSV PYSEC-2022-43189JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | casbin | casdoorcpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:* |
< 1.13.1 | 1.13.1 |
| OSV | Go | github.com/casdoor/casdoor | < 1.13.1 | 1.13.1 |
| OSV | PyPI | casdoor | < 1.13.1 | 1.13.1 |
References
- http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html · Exploit, Third Party Advisory, VDB Entry, WEB, EVIDENCE
- https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1 · Release Notes, Third Party Advisory, WEB, ADVISORY
- https://github.com/casdoor/casdoor/issues/439 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, REPORT, FIX
- https://github.com/casdoor/casdoor/pull/442 · Exploit, Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2022-24124 · ADVISORY
- https://github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c · WEB, FIX
- https://github.com/casdoor/casdoor · PACKAGE
- https://github.com/advisories/GHSA-m358-g4rp-533r · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 29 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jan 2022)