CVE-2024-46076

Source
https://cve.org/CVERecord?id=CVE-2024-46076
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46076.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46076
Published
2024-10-07T00:00:00Z
Modified
2026-07-08T06:58:27.814961290Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46076.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/yangzongzhuan/ruoyi

Affected ranges

Type
GIT
Repo
https://github.com/yangzongzhuan/ruoyi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "cpe": "cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.7.9"
        }
    ]
}

Affected versions

v2.*
v2.2
v2.3
v2.4
v3.*
v3.1
v3.2
v3.3
v3.4
v4.*
v4.0
v4.1
v4.2
v4.3
v4.3.1
v4.4
v4.5.0
v4.5.1
v4.6.0
v4.6.1
v4.6.2
v4.7.0
v4.7.1
v4.7.2
v4.7.3
v4.7.4
v4.7.5
v4.7.6
v4.7.7
v4.7.8
v4.7.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46076.json"