CVE-2021-31876

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31876
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31876.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-31876
Published
2021-05-13T22:15:07Z
Modified
2025-02-14T05:49:59Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
Details

Bitcoin Core 0.12.0 through 0.21.1 does not properly implement the replacement policy specified in BIP125, which makes it easier for attackers to trigger a loss of funds, or a denial of service attack against downstream projects such as Lightning network nodes. An unconfirmed child transaction with nSequence = 0xffffffff, spending an unconfirmed parent with nSequence <= 0xfffffffd, should be replaceable because there is inherited signaling by the child transaction. However, the actual PreChecks implementation does not enforce this. Instead, mempool rejects the replacement attempt of the unconfirmed child transaction.

References

Affected packages

Git / github.com/bitcoin/bitcoin

Affected ranges

Type
GIT
Repo
https://github.com/bitcoin/bitcoin
Events