github.com/cloudwego/hertz
Affected
- introduced
0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1go get github.com/cloudwego/[email protected]
Advisory
Also known as: CVE-2022-40082, GHSA-c9qr-f6c8-rgxf
Path traversal in github.com/cloudwego/hertz
Improper path sanitization on Windows permits path traversal attacks. Static file serving with the Static or StaticFS functions allows an attacker to access files from outside the filesystem root.
This vulnerability does not affect non-Windows systems.
Not rated by the source.
0, fixed 0.3.1 (semver)0.3.1
0.3.1go get github.com/cloudwego/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0