Advisory

GO-2022-1027

Also known as: CVE-2022-40082, GHSA-c9qr-f6c8-rgxf

Summary

Path traversal in github.com/cloudwego/hertz

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-10-05 18:02 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/cloudwego/hertz

Go · All systems

Affected

  • introduced 0, fixed 0.3.1 (semver)

Fixed versions

0.3.1

Fix

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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences