{"id":"CVE-2022-24844","summary":"SQL Injection in github.com/flipped-aurora/gin-vue-admin","details":"Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. The problem occurs in the following code in server/service/system/sys_auto_code_pgsql.go, which means that PostgreSQL must be used as the database for this vulnerability to occur. Users must: Require JWT login） and be using PostgreSQL to be affected. This issue has been resolved in version 2.5.1. There are no known workarounds.","aliases":["GHSA-5g92-6hpp-w425"],"modified":"2026-04-10T04:45:35.326370Z","published":"2022-04-13T21:10:10Z","database_specific":{"cwe_ids":["CWE-89"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24844.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24844.json"},{"type":"ADVISORY","url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-5g92-6hpp-w425"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24844"},{"type":"FIX","url":"https://github.com/flipped-aurora/gin-vue-admin/pull/1024"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flipped-aurora/gin-vue-admin","events":[{"introduced":"0"},{"fixed":"076e1092f0daff63f64bf38354a8f24ac6e67a4e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.5.1"}]}}],"versions":["V2.4.4","V2.5.0b","v0.9.0","v2.0.3","v2.2.0","v2.3.3","v2.3.31","v2.3.6","v2.4.2","v2.4.3","v2.4.4","v2.4.4-1","v2.4.5","v2.4.5Beta","v2.4.5RC","v2.4.6","v2.5.0","v2.5.0a","v2.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24844.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}