CVE-2022-39345: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Gin-vue-admin prior to 2.5.4 is vulnerable to path traversal, which leads to file upload vulnerabilities. Version 2.5.4 contains a patch for this issue. There are no workarounds aside from upgrading to a patched version.
References
- github.com/advisories/GHSA-7gc4-r5jr-9hxv
- github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go
- github.com/flipped-aurora/gin-vue-admin/issues/1263
- github.com/flipped-aurora/gin-vue-admin/pull/1264
- github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-7gc4-r5jr-9hxv
- nvd.nist.gov/vuln/detail/CVE-2022-39345
Detect and mitigate CVE-2022-39345 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →