Magic-wormhole
Magic Wormhole: "wormhole receive" allows arbitrary local file overwrite
Magic Wormhole makes it possible to get arbitrary-sized files and directories from one computer to another. From 0.21.0 to before 0.23.0, receiving a file (wormhole receive) from a malicious party could result in overwriting critical local files, including ~/.ssh/authorized_keys and .bashrc. This could be used to compromise the receiver's computer. Only the sender of the file (the party who runs wormhole send) can mount the attack. Other parties (including the transit/relay servers) are excluded by the wormhole protocol. This vulnerability is fixed in 0.23.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.21.0, < 0.23.0
Fixed in 0.23.0
Mitigation
Upgrade magic-wormhole to 0.23.0 or later.
References
- Vendor advisory github.com/magic-wormhole/magic-wormhole/secur…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.