Wish
Wish has SCP Path Traversal that allows arbitrary file read/write
Wish is an SSH server with defaults and a collection of middlewares. From version 2.0.0 to before version 2.0.1, the SCP middleware in charm.land/wish/v2 is vulnerable to path traversal attacks. A malicious SCP client can read arbitrary files from the server, write arbitrary files to the server, and create directories outside the configured root directory by sending crafted filenames containing ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.6critical · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
charmbracelet wish
- >= 2.0.0, < 2.0.1
Fixed in 2.0.1
Mitigation
Upgrade wish to 2.0.1 or later.
References
- Vendor advisory github.com/charmbracelet/wish/security/advisor…
- Release notes github.com/charmbracelet/wish/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.