GitHub Advisoryadvisory · Go

GHSA-5824-6jfv-xr3r Arbitrary file read in ginadmin

HIGH Published 2022-05-26 Modified 2022-06-09 Official page ↗
Aliases
CVE-2022-30428
Ecosystem
Go
Packages
github.com/gphper/ginadmin
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22, CWE-552
Reviewed
2022-06-01

Affected packages

• Go github.com/gphper/ginadmin: <= 0.1.1 (no fix yet)

Description

In ginadmin through 05-10-2022, the incoming path value is not filtered, resulting in arbitrary file reading. A patch is available on the `master` branch of the repository.

Related

Alias · CVE (1)

  • CVE-2022-30428 In ginadmin through 05-10-2022, the incoming path value is not filtered, resulting in arbitrary file reading. vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-552 Files or Directories Accessible to External Parties weakness

References