CVE-2022-30427 Path traversal in ginadmin

High 7.5 Published Updated

Attackers can exploit unfiltered path values in ginadmin to perform directory traversal and read arbitrary files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-30427?

CVE-2022-30427 is a high-severity path traversal vulnerability in n/a, published on 25 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In ginadmin through 05-10-2022 the incoming path value is not filtered, resulting in directory traversal.

Weakness: CWE-22

Which versions are affected by CVE-2022-30427?

2 open source packages ship an affected version, including github.com/gphper/ginadmin. It affects 1 product.

PackageAffectedFixed in
github.com/gphper/ginadmin GoAll versions to 0.1.1None
github.com/gphper/ginadmin GoAll versions to 0.1.1None

Products include Ginadmin Project Ginadmin.

How do I fix CVE-2022-30427?

No fix has been published for CVE-2022-30427 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-30427 being exploited?

There is no known exploitation of CVE-2022-30427 in the wild and no public exploit code.

Sources

Also known as GHSA-9pg5-3pjc-f8wm.

Is CVE-2022-30427 in your software?

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

Check your SBOMs for free