{"id":"CVE-2022-39345","state":"PUBLISHED","title":"Gin-vue-admin arbitrary file upload vulnerability caused by path traversal","description":"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.","publishedAt":"2022-10-25T00:00:00.000Z","updatedAt":"2025-04-22T17:17:16.782Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["flipped-aurora gin-vue-admin"],"affected":[{"vendor":"flipped-aurora","product":"gin-vue-admin","versions":[{"version":"< 2.5.4","status":"affected"}]}],"references":["https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-7gc4-r5jr-9hxv","https://github.com/flipped-aurora/gin-vue-admin/issues/1263","https://github.com/flipped-aurora/gin-vue-admin/pull/1264","https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go"],"weaknesses":["CWE-22","CWE-23"],"ingestedAt":"2026-10-29T19:50:29.496Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/39xxx/CVE-2022-39345.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-39345","state":"PUBLISHED","datePublished":"2022-10-25T00:00:00.000Z","dateUpdated":"2025-04-22T17:17:16.782Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-09-02T00:00:00.000Z"},"containers":{"cna":{"title":"Gin-vue-admin arbitrary file upload vulnerability caused by path traversal","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"flipped-aurora","product":"gin-vue-admin","versions":[{"version":"< 2.5.4","status":"affected"}]}],"references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-7gc4-r5jr-9hxv"},{"url":"https://github.com/flipped-aurora/gin-vue-admin/issues/1263"},{"url":"https://github.com/flipped-aurora/gin-vue-admin/pull/1264"},{"url":"https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]},{"descriptions":[{"cweId":"CWE-23","type":"CWE","lang":"en","description":"CWE-23: Relative Path Traversal"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2022-10-25T00:00:00.000Z"},"source":{"advisory":"GHSA-7gc4-r5jr-9hxv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-7gc4-r5jr-9hxv","tags":["x_transferred"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/issues/1263","tags":["x_transferred"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/pull/1264","tags":["x_transferred"]},{"url":"https://github.com/flipped-aurora/gin-vue-admin/blob/main/server/service/system/sys_auto_code.go","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:00:44.117Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:36:37.785322Z","id":"CVE-2022-39345","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T17:17:16.782Z"}}]}}}