CVE-2024-57521: SQL Injection
Published Dec 23, 2025
·Updated
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.
Affected Software
2 affected components
Ruoyi Ruoyi<4.7.9
Ruoyi Ruoyi<=4.7.9
Remediation
Event History
Dec 23, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2024-57521?
CVE-2024-57521 is classified as a critical severity SQL Injection vulnerability that allows remote code execution.
2
How do I fix CVE-2024-57521?
To fix CVE-2024-57521, upgrade RuoYi to version 4.8.0 or later, which addresses this vulnerability.
3
What versions of RuoYi are affected by CVE-2024-57521?
CVE-2024-57521 affects RuoYi version 4.7.9 and earlier.
4
Can CVE-2024-57521 be exploited remotely?
Yes, CVE-2024-57521 can be exploited remotely by attackers through the createTable function in SqlUtil.java.
5
What type of vulnerability is CVE-2024-57521?
CVE-2024-57521 is an SQL Injection vulnerability that permits arbitrary code execution.