Description
goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c`, thus allowing anyone to execute arbitrary command through the use of websockets. Version 1.0.5 fixes the issue.
Metrics
CVSS 3.0 9.4/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- May 6, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Deferred