p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de @keep-network/tbtc-v2

Vulnérabilité publiée pour @keep-network/tbtc-v2 au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 2

  1. GHSA-8986-v76q-8vr2

    Élevée · CVSS 7.5Correctif disponible

    @keep-network/tbtc-v2 revealing P2PKH deposit with a wrapped P2SH script

    # Overview P2PKH has 20 bytes just like P2SH. We protect against revealing P2PKH deposits by manually assembling the expected P2SH script in the smart contract and comparing hashes. However, we missed the case when the attacker embeds a valid P2SH inside of P2PKH as an output script. bitcoin-spv library [extracts the P2SH from P2PKH](https://github.com/keep-network/bitcoin-spv/blob/856849612ef49114af18c0f407eaa74afc2ee4be/solidity/contracts/BTCUtils.sol#L610-L612) and we treat it as a valid P2SH output. This does not lead to stealing funds but can lead to protocol insolvency. The off-chain client handles this case correctly, but the proble

    • Mettez à jour vers 1.8.2
    Publication Mise à jour
  2. GHSA-wg2x-rv86-mmpx

    Non évaluéeCorrectif disponible

    SPV Merkle proof malleability allows the maintainer to prove invalid transactions

    ## Summary By publishing specially crafted transactions on the Bitcoin blockchain, the SPV maintainer can produce seemingly valid SPV proofs for fraudulent transactions. The issue was originally identified by Least Authority in the tBTC Bridge V2 Security Audit Report as _Issue B: Bitcoin SPV Merkle Proofs Can Be Faked_. A mitigation was believed to have been in place, but this turned out to contain an error, and the issue had not been effectively mitigated. ### Details This is achieved by creating a 64-byte transaction that the fraudulent transaction treats as a node in its merkle proof: The attacker creates the malicious transaction `E`

    • Mettez à jour vers 1.5.2
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →