The goshs SimpleHTTPServer written in Go has a path traversal vulnerability prior to version 2.0.0-beta.3. The tdeleteFile() function was missing a return statement after a path traversal check, allowing for potential directory traversal attacks. This issue has been fixed in version 2.0.0-beta.3. Users of goshs SimpleHTTPServer version prior to 2.0.0-beta.3 should update to the latest version to prevent p [truncated]
A critical vulnerability was discovered in goshs, a SimpleHTTPServer written in Go. The vulnerability exists in the PUT upload functionality in httpserver/updown.go, where path sanitization is not performed. This allows an attacker to potentially upload files to arbitrary locations on the server. The vulnerability was fixed in version 2.0.0-beta.3.