{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.5.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "076e1092f0daff63f64bf38354a8f24ac6e67a4e"
            }
          ],
          "repo": "https://github.com/flipped-aurora/gin-vue-admin",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5g92-6hpp-w425"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24844.json"
  },
  "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.",
  "id": "CVE-2022-24844",
  "modified": "2026-04-01T23:09:28.299712233Z",
  "published": "2022-04-13T21:10:10Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SQL Injection in github.com/flipped-aurora/gin-vue-admin"
}