Crypto Prices

XRP Ledger Addresses Long-Standing Vulnerability That Could Have Allowed Creation of New Tokens

13 hours ago
1 min read
4 views

XRP Ledger Addresses Critical Vulnerability

The XRP Ledger has recently addressed a significant flaw in its payment engine that dates back to 2015, which presented a potential risk of enabling the creation of new XRP tokens beyond the established limit of 100 billion. This vulnerability, documented in a vulnerability report released yesterday, was hidden within the ledger’s code responsible for processing transactions in its decentralized exchange (DEX).

Details of the Vulnerability

The issue stemmed from the way the payment engine handled numerous offers in a single transaction by using unchecked 64-bit arithmetic, leading to a situation known as integer overflow. When the sum exceeded a certain threshold, it would revert to a smaller number, allowing transactions to proceed as if valid but enabling buyers to be charged less than what they ought to have paid, effectively generating non-existent XRP.

This serious flaw raised alarms for RippleX, especially considering that the ledger employs a verification method intended to prevent the unauthorized creation of XRP. Ironically, this safeguard relied on the same flawed arithmetic, rendering it ineffective against the problem it aimed to resolve. The potential attack required only a few hundred XRP in reserves and a series of carefully mispriced offers to exploit the issue, thus allowing a single transaction to create substantial amounts of XRP illicitly.

Response and Mitigation

Despite the seriousness of this vulnerability, Ripple has confirmed that there is no evidence of it being exploited in any public network. To remedy the situation, a patch was quickly deployed as part of release 3.4.1 without going through the typical amendment process, highlighting the urgency of the matter. This update became the required version for all network participants, with the source code published post-deployment to limit risk.

In addition to this critical bug, a less severe flaw involving the wrapping of Batch transactions was also addressed concurrently with the update. The maintenance of the network comes at a time when the broader cryptocurrency sector is grappling with security concerns, as highlighted by recent losses related to Ledger devices totaling approximately $93.4 million.

Future Developments

Looking ahead, Ripple-backed Evernorth is gearing up for its debut on Nasdaq, trading under the ticker XRPN, and maintains a sizeable holding of around 473 million XRP. Furthermore, XRP is making strides into decentralized finance (DeFi), evidenced by Firelight’s recent implementation of a vault protection feature on the Ledger.

Popular