{"id":"CVE-2024-57521","details":"SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java.","modified":"2026-08-12T03:51:49.523648420Z","published":"2025-12-23T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57521.json"},"references":[{"type":"WEB","url":"https://gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5"},{"type":"WEB","url":"https://gitee.com/y_project/RuoYi/issues/IBC976"},{"type":"WEB","url":"https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57521.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57521"},{"type":"PACKAGE","url":"https://github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yangzongzhuan/ruoyi","events":[{"introduced":"0"},{"last_affected":"4f5bf990bf5663b729ea5b14d13e14adb3d26d5a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"4.7.9"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*"}}],"versions":["v4.7.9","v4.7.8","v4.7.7","v4.7.6","v4.7.5","v4.7.4","v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.2","v4.6.1","v4.6.0","v4.5.1","v4.5.0","v4.4","v4.3.1","v4.3","v4.2","v4.1","v4.0","v3.4","v3.3","v3.2","v3.1","v2.4","v2.3","v2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57521.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}