CVE-2022-47762 Path Traversal in gin-vue-admin
An attacker can exploit a path traversal vulnerability in the download module to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-47762?
CVE-2022-47762 is a high-severity path traversal vulnerability in n/a, published on 3 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In gin-vue-admin < 2.5.5, the download module has a Path Traversal vulnerability.
Weakness: CWE-22
Which versions are affected by CVE-2022-47762?
3 open source packages ship an affected version, including github.com/flipped-aurora/gin-vue-admin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/flipped-aurora/gin-vue-admin Go | All versions | 2.5.5 |
github.com/flipped-aurora/gin-vue-admin Go | All versions | 2.5.5 |
github.com/flipped-aurora/gin-vue-admin Go | All versions | 2.5.5+incompatible |
Products include Gin-Vue-Admin Project Gin-Vue-Admin.
How do I fix CVE-2022-47762?
Upgrade github.com/flipped-aurora/gin-vue-admin to a fixed version for your release line: 2.5.5 or 2.5.5+incompatible.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-47762 being exploited?
There is no known exploitation of CVE-2022-47762 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-39345 Gin-vue-admin arbitrary file upload vulnerability caused by path traversal
- CVE-2022-39305 Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type
- CVE-2021-44219 SQL injection in n/a
- CVE-2022-32176 Gin-vue-admin - Unrestricted File Upload
- CVE-2022-32177 Gin-vue-admin - Unrestricted File Upload
Sources
Also known as GHSA-x623-hr8h-7g5v, GO-2023-1560.