{"id":"CVE-2022-24124","aliases":["CVE-2022-24124","GHSA-m358-g4rp-533r","GO-2022-0303","PYSEC-2022-43189"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in Casdoor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"SQL Injection in Casdoor in github.com/casdoor/casdoor","format":"markdown","source":"go"},{"lang":"es","text":"La API de consulta en Casdoor versiones anteriores a 1.13.1, presenta una vulnerabilidad de inyección SQL relacionada con los parámetros field y value, como es demostrado en api/get-organizations","source":"nvd"}],"published":"2022-01-29T22:53:01.000Z","modified":"2026-10-04T11:40:45.650Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.1"}],"ecosystem":"Go","package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.1"}],"ecosystem":"Go","package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"go"},{"ranges":[{"status":"affected","fixed":"1.13.1"}],"vendor":"casbin","product":"casdoor","cpe":"cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.1"}],"ecosystem":"PyPI","package":"casdoor","purl":"pkg:pypi/casdoor","source":"pysec"}],"references":[{"url":"https://github.com/casdoor/casdoor/issues/439","tags":["exploit","fix","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"https://github.com/casdoor/casdoor/pull/442","tags":["exploit","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1","tags":["advisory","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html","tags":["evidence","exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24124","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-m358-g4rp-533r","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24124","url":"https://www.cve.org/CVERecord?id=CVE-2022-24124","licence":"CVE Terms of Use","modified":"2024-08-03T03:59:23.921Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m358-g4rp-533r","url":"https://github.com/advisories/GHSA-m358-g4rp-533r","licence":"CC-BY-4.0","modified":"2026-10-04T11:40:45.650Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0303","url":"https://pkg.go.dev/vuln/GO-2022-0303","licence":"CC-BY-4.0","modified":"2026-10-04T11:40:45.650Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24124","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24124","licence":"Public domain","modified":"2026-06-17T04:31:20.693Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-43189","url":"https://osv.dev/vulnerability/PYSEC-2022-43189","licence":"CC-BY-4.0","modified":"2026-10-04T11:40:45.650Z"}],"updatedAt":"2026-11-25T22:58:09.446Z","epss":{"score":0.583,"percentile":0.9911,"date":"2026-12-01T12:00:22.000Z"}}