{"id":"CVE-2022-24124","details":"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.","aliases":["GHSA-m358-g4rp-533r","GO-2022-0303"],"modified":"2026-08-12T03:51:12.182986902Z","published":"2022-01-29T22:53:01Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24124.json"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html"},{"type":"WEB","url":"https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24124.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24124"},{"type":"REPORT","url":"https://github.com/casdoor/casdoor/issues/439"},{"type":"FIX","url":"https://github.com/casdoor/casdoor/pull/442"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/casdoor/casdoor","events":[{"introduced":"0"},{"fixed":"5ec0c7a89005819960d8fe07f5ddda13d1371b8c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.13.1"}],"source":["DESCRIPTION","CPE_RANGE"],"cpe":"cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*"}}],"versions":["v1.13.0","v1.12.2","v1.12.1","v1.12.0","v1.11.1","v1.11.0","v1.10.2","v1.10.1","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.2","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24124.json"}}],"schema_version":"1.9.0"}