High, CVSS 7.5GoPublished
Hertz contains path traversal via normalizePath function
CVE-2022-40082 · GHSA-c9qr-f6c8-rgxf
- Affected
- Go github.com/cloudwego/hertz < 0.3.1
- Fixed in
- 0.3.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.