{"id":"CVE-2024-57521","sourceIdentifier":"cve@mitre.org","published":"2025-12-23T17:15:46.723","lastModified":"2026-10-27T18:10:00.130","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Vulnerabilidad de inyección SQL en RuoYi versiones anteriores o iguales a la 4.7.9 permite a un atacante remoto ejecutar código arbitrario a través de la función createTable en SqlUtil.java."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-12-23T19:12:11.132951Z","id":"CVE-2024-57521","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","versionEndIncluding":"4.7.9","matchCriteriaId":"23C8B479-ECDA-4F19-8547-4129C63F3E0E"}]}]}],"references":[{"url":"https://gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5","source":"cve@mitre.org","tags":["Patch","Permissions Required"]},{"url":"https://gitee.com/y_project/RuoYi/issues/IBC976","source":"cve@mitre.org","tags":["Issue Tracking"]},{"url":"https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]}]}