Meshtastic allows crafting of specific NodeInfo packets that overwrite any publicKey saved in the NodeDB
meshtastic firmware
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| meshtastic firmware |
| No fix yet |
Original description
Meshtastic is an open source mesh networking solution. Prior to v2.6.3, an attacker can send NodeInfo with a empty publicKey first, then overwrite it with a new key. First sending a empty key bypasses 'if (p.public_key.size > 0) {', clearing the existing publicKey (and resetting the size to 0) for a known node. Then a new key bypasses 'if (info->user.public_key.size > 0) {', and this malicious key is stored in NodeDB. This vulnerability is fixed in 2.6.3.
From the CVE record · GitHub_M