GitHub Advisoryadvisory · Go

GHSA-c9qr-f6c8-rgxf Hertz contains path traversal via normalizePath function

HIGH Published 2022-09-29 Modified 2022-09-30 Official page ↗
Aliases
CVE-2022-40082
Ecosystem
Go
Packages
github.com/cloudwego/hertz
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
Reviewed
2022-09-30

Affected packages

• Go github.com/cloudwego/hertz: < 0.3.1 → fixed in 0.3.1

Description

Hertz is a a high-performance and strong-extensibility Go HTTP framework that helps developers build microservices. Versions of Hertz prior to 0.3.1 contain a path traversal vulnerability via the normalizePath function. This issue has been patched in 0.3.1.

Related

Alias · CVE (1)

  • CVE-2022-40082 Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References