Improper Input Validation Affecting bitcoin package, versions <0.21.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.3% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE316-BITCOIN-2841685
  • published16 Jun 2021
  • disclosed26 Jan 2021

Introduced: 26 Jan 2021

CVE-2021-3195  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Alpine:3.16 bitcoin to version 0.21.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bitcoin package and not the bitcoin package as distributed by Alpine. See How to fix? for Alpine:3.16 relevant fixed versions and status.

bitcoind in Bitcoin Core through 0.21.0 can create a new file in an arbitrary directory (e.g., outside the ~/.bitcoin directory) via a dumpwallet RPC call. NOTE: this reportedly does not violate the security model of Bitcoin Core, but can violate the security model of a fork that has implemented dumpwallet restrictions

CVSS Base Scores

version 3.1