PT-2020-21589 · Horizen · Zencashjs

Published

2020-09-03

·

Updated

2020-09-03

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions zencashjs versions prior to 1.2.0
Description The issue affects the handling of cryptocurrency transactions, specifically with Horizen addresses. It relies on string comparison of the first two characters of an address to determine the destination address type. Due to overlapping address prefixes for testnet P2PKH and mainnet P2SH addresses, transactions sent to a mainnet P2SH address starting with "zt" are interpreted as P2PKH transactions, resulting in loss of funds.
Recommendations Upgrade to version 1.2.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

GHSA-XFRC-7MJ2-5XH9

Affected Products

Zencashjs