{"id":"CVE-2024-46076","sourceIdentifier":"cve@mitre.org","published":"2024-10-07T18:15:04.653","lastModified":"2026-06-17T07:55:09.207","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"RuoYi v4.7.9 y anteriores tienen una falla de seguridad que permite escapar de los comentarios dentro de la función de generación de código, lo que permite la inyección de código malicioso."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"ruoyi","product":"ruoyi","defaultStatus":"unknown","cpes":["cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThanOrEqual":"4.7.9","versionType":"custom","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:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-10-07T19:34:38.294068Z","id":"CVE-2024-46076","options":[{"exploitation":"none"},{"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-94"}]}],"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://gist.github.com/kkll5875/f237f200bae6db6b47eea3236d82ad0d","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/yangzongzhuan/RuoYi","source":"cve@mitre.org","tags":["Product"]}]}