CVE-2022-39305: Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Versions prior to 2.5.4 contain a file upload ability. The affected code fails to validate fileMd5 and fileName parameters, resulting in an arbitrary file being read. This issue is patched in 2.5.4b. There are no known workarounds.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2022-39305.
What is the severity of CVE-2022-39305?
The severity of CVE-2022-39305 is critical (9.8).
What is Gin-vue-admin?
Gin-vue-admin is a backstage management system based on Vue and Gin.
What versions of Gin-vue-admin are affected by this vulnerability?
Versions prior to 2.5.4b of Gin-vue-admin are affected by this vulnerability.
How does this vulnerability occur?
This vulnerability occurs due to the affected code failing to validate fileMd5 and fileName parameters during file upload, allowing arbitrary file reading.