Patrickhener goshs
goshs is Missing Write Protection for Parametric Data Values
goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-1314
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
patrickhener goshs
- >= 1.0.7, < 2.0.0-beta.4
Fixed in 2.0.0-beta.4
Mitigation
Upgrade goshs to 2.0.0-beta.4 or later.
References
- Vendor advisory github.com/patrickhener/goshs/security/advisor…
- Patch github.com/patrickhener/goshs/commit/141c188ce…
- Release notes github.com/patrickhener/goshs/releases/tag/v2.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.