{"id":"CVE-2022-32065","details":"An arbitrary file upload vulnerability in the background management module of RuoYi v4.7.3 and below allows attackers to execute arbitrary code via a crafted HTML file.","aliases":["GHSA-6w2f-6wq3-rjvf"],"modified":"2026-08-12T13:01:09.399446Z","published":"2022-07-13T14:51:51Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32065.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://gitee.com/y_project/RuoYi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6"},{"type":"WEB","url":"https://gitee.com/y_project/RuoYi/issues/I57IME"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32065.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32065"},{"type":"REPORT","url":"https://github.com/yangzongzhuan/RuoYi/issues/118"},{"type":"FIX","url":"https://github.com/yangzongzhuan/RuoYi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yangzongzhuan/ruoyi","events":[{"introduced":"0"},{"fixed":"d8b2a9a905fb750fa60e2400238cf4750a77c5e6"}],"database_specific":{"cpe":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"4.7.3"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.2","v4.6.1","v4.6.0","v4.5.1","v4.5.0","v4.4","v4.3.1","v4.3","v4.2","v4.1","v4.0","v3.4","v3.3","v3.2","v3.1","v2.4","v2.3","v2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32065.json","vanir_signatures_modified":"2026-08-12T13:01:09Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["310735121276722192299964965078095811308","19825365431255629273863119302958106262","17620255423507479804665933896277492101","177061473010337358847418197963668565444"],"threshold":0.9},"id":"CVE-2022-32065-1f6497b5","signature_type":"Line","signature_version":"v1","source":"https://github.com/yangzongzhuan/ruoyi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6","target":{"file":"ruoyi-common/src/main/java/com/ruoyi/common/exception/file/InvalidExtensionException.java"}},{"deprecated":false,"digest":{"function_hash":"19694962469981967058057745653945381299","length":254},"id":"CVE-2022-32065-ea6498e2","signature_type":"Function","signature_version":"v1","source":"https://github.com/yangzongzhuan/ruoyi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6","target":{"file":"ruoyi-common/src/main/java/com/ruoyi/common/exception/file/InvalidExtensionException.java","function":"InvalidExtensionException"}},{"digest":{"line_hashes":["308272054755351381330280188361592092298","289420847547964015586167853056887380008","325028111115640944857999938457945223063","26098085904496894713601902342107620793","199910151512973175914405372321547223358","208303185908374213977017827837748836085","228921750470304584584691816023617311777","1587371070581513123018065685179950415"],"threshold":0.9},"id":"CVE-2022-32065-f2c4b81c","signature_type":"Line","signature_version":"v1","source":"https://github.com/yangzongzhuan/ruoyi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6","target":{"file":"ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/yangzongzhuan/ruoyi/commit/d8b2a9a905fb750fa60e2400238cf4750a77c5e6","target":{"function":"updateAvatar","file":"ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java"},"deprecated":false,"digest":{"length":491,"function_hash":"113941333650743521420454907298250772311"},"id":"CVE-2022-32065-fda625e8","signature_type":"Function"}]}}],"schema_version":"1.9.0"}