{"answers":{"affected":"1 open source package ship an affected version, including github.com/flipped-aurora/gin-vue-admin.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37896 exists.","fix":"Upgrade github.com/flipped-aurora/gin-vue-admin to 2.6.6+incompatible or later.","what":"CVE-2024-37896 is a high-severity SQL injection vulnerability in flipped-aurora gin-vue-admin, published on 17 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-37896 and fix it if it is affected.\n\nWhat it is: CVE-2024-37896 is a high-severity SQL injection vulnerability in flipped-aurora gin-vue-admin, published on 17 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37896 exists.\n\nAffected packages and fixed versions:\n- github.com/flipped-aurora/gin-vue-admin (Go): affected all versions; fixed in 2.6.6+incompatible\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-37896/ (Markdown: https://insights.sbomify.com/CVE-2024-37896/index.md)","id":"CVE-2024-37896","markdown":"https://insights.sbomify.com/CVE-2024-37896/index.md","name":"CVE-2024-37896","record":{"aliases":["GHSA-gf3r-h744-mqgp","GO-2024-2928"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Gin-vue-admin backend","requires_auth":"low_privilege","summary":"Attackers can inject arbitrary SQL commands via unsanitized inputs to read or modify database data, requiring an upgrade to Gin-vue-admin.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Gin-vue-admin is a backstage management system based on vue and gin. Gin-vue-admin \u003c= 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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SQL injection vulnerability in Gin-vue-admin","id":"CVE-2024-37896","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":1,"n_references":2,"next":{"headline":"Insufficient access control for password reset in sftpgo","id":"CVE-2024-37897"},"packages":[{"ecosystem":"Go","fixed":["2.6.6+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/flipped-aurora/gin-vue-admin","purl":"pkg:golang/github.com/flipped-aurora/gin-vue-admin","source":"GO-2024-2928"}],"prev":{"headline":"API Key Leak in lobe-chat","id":"CVE-2024-37895"},"products":["gin-vue-admin"],"published":"2024-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["flipped-aurora"]},"summary":"Attackers can inject arbitrary SQL commands via unsanitized inputs to read or modify database data, requiring an upgrade to Gin-vue-admin.","url":"https://insights.sbomify.com/CVE-2024-37896/"}