Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.ruoyi/ruoyi
  4. ›
  5. CVE-2024-57438

CVE-2024-57438: RuoYi has insecure permissions

January 29, 2025 (updated October 31, 2025)

Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.

References

  • gitee.com/y_project/RuoYi
  • github.com/advisories/GHSA-h5jh-rp76-q242
  • github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md
  • github.com/yangzongzhuan/RuoYi
  • nvd.nist.gov/vuln/detail/CVE-2024-57438
  • ruoyi.vip/

Code Behaviors & Features

Detect and mitigate CVE-2024-57438 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.8.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions
  • CWE-863: Incorrect Authorization

Source file

maven/com.ruoyi/ruoyi/CVE-2024-57438.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.