{"id":"GHSA-h5jh-rp76-q242","summary":"RuoYi has insecure permissions","details":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","aliases":["CVE-2024-57438"],"modified":"2025-02-06T19:54:08Z","published":"2025-01-29T15:31:35Z","database_specific":{"nvd_published_at":"2025-01-29T15:15:17Z","cwe_ids":["CWE-276","CWE-863"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-01-29T19:20:33Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57438"},{"type":"PACKAGE","url":"https://gitee.com/y_project/RuoYi"},{"type":"WEB","url":"https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md"},{"type":"WEB","url":"https://github.com/yangzongzhuan/RuoYi"},{"type":"WEB","url":"https://ruoyi.vip"}],"affected":[{"package":{"name":"com.ruoyi:ruoyi","ecosystem":"Maven","purl":"pkg:maven/com.ruoyi/ruoyi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.8.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-h5jh-rp76-q242/GHSA-h5jh-rp76-q242.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}]}