CVE-2022-47762 Path Traversal in gin-vue-admin

High 7.5 Published Updated

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.

PackageAffectedFixed in
github.com/flipped-aurora/gin-vue-admin GoAll versions2.5.5
github.com/flipped-aurora/gin-vue-admin GoAll versions2.5.5
github.com/flipped-aurora/gin-vue-admin GoAll versions2.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.

Sources

Also known as GHSA-x623-hr8h-7g5v, GO-2023-1560.

Is CVE-2022-47762 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free