Bitcoinjs-lib Patches Two Bugs Affecting Miner Fee Calculations
Bitcoinjs-lib has patched two bugs that could lead to incorrect miner fee calculations in Bitcoin applications. The security updates, released on Oct. 26, are included in versions 5.2.2, 6.1.9, and 7.0.4. The issues primarily affect partially signed Bitcoin transactions (PSBTs), which are defined by BIP 174 for sharing transaction information and signatures. Applications using these libraries may miscalculate fees if they trust bitcoinjs-lib's calculations without independent verification. The first flaw allows signing and fee accounting to use different input values, leading to significant discrepancies. For instance, a demonstration showed a real fee of 900,000,000 satoshi reported as only 200 satoshi. The second flaw involves missing input-value records, causing the fee calculator to treat those inputs as zero, resulting in misleading fee reports. An example indicated a true fee of 91,000 satoshi reported as 1,000 satoshi. The patched versions now require a value for every input during fee calculation and reject conflicting records. Affected releases include versions 5.2.0 to 5.2.1, 6.0.0 to 6.1.8, and 7.0.0 to 7.0.3. Users unable to upgrade should verify output values independently and reject conflicting records before signing.
-- Price
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

Two Bitcoin miners reported nearly $2 billion in profit. The biggest boost wasn’t cash

Super League buys 16 BTC for $1.23m as purchase sizes double

Bitcoin Lightning’s security update shuts one door. A critical Linux flaw remains

BlackRock: Bitcoin Whales Are Swapping Self-Custody For IBIT At Record Pace

Kraken Co-CEO Says Bitcoin Has Emerged from Bear Market

Aave DAO Supports Native BTC as Collateral for Aave V4 through Proposal

Bitcoin traders face an eight-hour blind spot as Deribit prepares to delay key market data

Heating by Mining Bitcoin? Finnish Families Are Trying This 'Free' Heating

Red Code: Why Your Bitcoin Depends on Other People's Debts for AI

Collapse of Ueno Bank in Paraguay Exposes Issues Affecting 3 Million People

Global Outage: Your Cryptos Are Not Disappearing

Strategy Bitcoin Holdings Turn to Unrealized Loss, South Korea Clarifies Virtual Asset Enforcement Process

13 of 15 buyback-model tokens outperform BTC in 2023

Did Strategy buy Bitcoin? Saylor reignites speculation

Analysis of Bitcoin Trends After the Midterm Elections: Three Key Price Levels and Whale Positions

Digital Asset Basic Law Government Proposal to Be Released This Month: How Will Regulations on Coin Issuance and Listing Change?

CFTC Says US-Regulated Exchanges Can Begin Trading Individual-Stock Perpetual Futures

This Bitcoin Developer's Plan Could Make Quantum Hackers Lose Money While Trying to Steal Coins

Crypto Influencers' Trading Signals No Better Than Coin Tossing

Ethereum's Value Storage Theory Questioned, Trump Discusses Similarities Between Cryptocurrencies and Traditional Assets

Founder of Ethereum Weekly Claims L1 Project Pearl is Set to Surpass Bitcoin

Bitcoin Spot ETF Sees Net Outflow of $1.282 Billion Last Week, BlackRock's IBIT Leads with $1.209 Billion Outflow

大冰要抄底(专注交易) Market Analysis of Ethereum

Cipher Digital Starts Booking HPC Lease Revenue as $9.1B Contract Takes Shape

Core Scientific’s AI Colocation Revenue Jumps to $215M as Mining Role Shrinks

Bitcoin long-term holders realize 139 million dollars in losses on Nov. 5

Block Allocates $764 Million for Settlement with U.S. Justice Department, Moving Towards Deferred Prosecution for AML Deficiencies

Hut 8 Expands AI Campus Commitments While Funding Buybacks With Bitcoin Sales

U.S. Government Begins Final Review of Retirement Pension Cryptocurrency Investment Regulations









