{"id":"CVE-2024-57438","aliases":["EUVD-2025-0165","GHSA-h5jh-rp76-q242"],"status":"published","title":"RuoYi has insecure permissions","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00373,"percentile":0.31525,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-276","CWE-863"],"published":"2025-01-29T00:00:00Z","modified":"2026-10-28T02:30:30Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.ruoyi:ruoyi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.8.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.ruoyi:ruoyi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.8.0"}]}]}],"products":[{"vendor":"ruoyi","product":"ruoyi"}],"references":[{"url":"https://github.com/yangzongzhuan/RuoYi","tags":["Product","package","web"]},{"url":"https://gitee.com/y_project/RuoYi","tags":["Product","web","package"]},{"url":"https://ruoyi.vip/","tags":["Product","web"]},{"url":"https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57438","tags":["advisory"]},{"url":"https://ruoyi.vip","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h5jh-rp76-q242"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57438.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-57438","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T00:00:00Z","modified":"2025-02-06T15:33:47.497Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:34:07.482552Z"}],"euvd":[{"id":"EUVD-2025-0165","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T00:00:00Z","modified":"2025-02-06T15:33:47Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:03.312509Z"}],"ghsa":[{"id":"GHSA-h5jh-rp76-q242","title":"RuoYi has insecure permissions","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T15:31:35Z","modified":"2025-02-06T19:54:09Z","cvss":[{"version":"4.0","score":5.7,"vector":"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","level":"medium"}],"cwes":["CWE-276","CWE-863"],"updated_at":"2026-11-02T14:38:29.866763Z"}],"nvd":[{"id":"CVE-2024-57438","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T15:15:17.283Z","modified":"2026-06-17T08:13:35.363Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:10:43.581383Z"}],"osv":[{"id":"CVE-2024-57438","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T00:00:00Z","modified":"2026-10-28T02:30:30.318670071Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:45.107804Z"},{"id":"GHSA-h5jh-rp76-q242","title":"RuoYi has insecure permissions","description":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","status":"published","published":"2025-01-29T15:31:35Z","modified":"2025-02-06T19:54:08Z","cvss":[{"version":"4.0","score":5.7,"vector":"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","level":"medium"}],"cwes":["CWE-276","CWE-863"],"updated_at":"2026-11-02T15:46:48.546324Z"}]}}
