{"id":"CVE-2024-57521","aliases":["EUVD-2025-204840","GHSA-r6g5-8v9h-7ww8"],"status":"published","title":"SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute...","description":"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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00683,"percentile":0.53021,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-89"],"published":"2025-12-23T00:00:00Z","modified":"2026-10-29T02:30:34Z","exploits":[{"source":"pocgithub","id":"cipher-xs/CVE-2024-57521-RuoYi-SQLi","title":"cipher-xs/CVE-2024-57521-RuoYi-SQLi","date":"2026-09-19","url":"https://github.com/cipher-xs/CVE-2024-57521-RuoYi-SQLi"},{"source":"pocgithub","id":"mrlihd/CVE-2024-57521-SQL-Injection-PoC","title":"mrlihd/CVE-2024-57521-SQL-Injection-PoC","date":"2024-12-18","url":"https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC"}],"products":[{"vendor":"ruoyi","product":"ruoyi"}],"references":[{"url":"https://gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5","tags":["Patch","Permissions Required","web"]},{"url":"https://gitee.com/y_project/RuoYi/issues/IBC976","tags":["Issue Tracking","web"]},{"url":"https://github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC","tags":["Exploit","Third Party Advisory","package"]},{"url":"https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57521","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r6g5-8v9h-7ww8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57521.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-57521","description":"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.","status":"published","published":"2025-12-23T00:00:00Z","modified":"2025-12-23T19:13:19.913Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:34:07.482552Z"}],"euvd":[{"id":"EUVD-2025-204840","description":"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.","status":"published","published":"2025-12-23T00:00:00Z","modified":"2025-12-23T19:13:19Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:49:01.709544Z"}],"ghsa":[{"id":"GHSA-r6g5-8v9h-7ww8","title":"SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute...","description":"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.","status":"published","published":"2025-12-23T18:30:27Z","modified":"2025-12-23T21:31:33Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:05:20.484177Z"}],"nvd":[{"id":"CVE-2024-57521","description":"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.","status":"published","published":"2025-12-23T17:15:46.723Z","modified":"2026-10-27T18:10:00.13Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:10:47.444899Z"}],"osv":[{"id":"CVE-2024-57521","description":"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.","status":"published","published":"2025-12-23T00:00:00Z","modified":"2026-10-29T02:30:34.748245698Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:45.107804Z"}]}}
