Nanomsg
Nanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploitable buffer overflow in the WebSocket transport, due to an unchecked copy of the Sec-WebSocket-Version header, through snprintf.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Nanomsg Nanomsg
- >= 0.5.0, < 1.2.3
Fixed in 1.2.3
Mitigation
Upgrade to nanomsg 1.2.3 or higher, or use NNG which is hardened for hostile networks.
Workaround
Disable the websocket transport, or ensure that it is only available to trusted peers.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.