Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/flipped-aurora/gin-vue-admin/server
  4. ›
  5. CVE-2022-39345

CVE-2022-39345: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 25, 2022

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

Code Behaviors & Features

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 →

Affected versions

All versions before 2.5.4

Fixed versions

  • v2.5.4

Solution

Upgrade to version 2.5.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/flipped-aurora/gin-vue-admin/server/CVE-2022-39345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.