GitHub Advisory Database
GHSA-mv9j-8jvg-j8mr
mppx: Tempo has a session close voucher bypass vulnerability due to settled amount equality
Details
Impact
The tempo/session cooperative close handler validated the close voucher amount using < instead of <= against the on-chain settled amount. An attacker could submit a close voucher exactly equal to the settled amount, which would be accepted without committing any new funds, effectively closing or griefing the channel for free.
Patches
Fixed in 0.4.11.
Workarounds
There are no workarounds available for this vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | mppx | All versions before 0.4.11 (fixed in 0.4.11) |