Use of Password Hash Instead of Password for Authentication Affecting buttercup package, versions >=3.0.0-rc1.0 <7.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (28th 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 Learn

Learn about Use of Password Hash Instead of Password for Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BUTTERCUP-6125595
  • published14 Dec 2023
  • disclosed8 Sept 2023
  • creditperry-mitchell

Introduced: 8 Sep 2023

CVE-2023-41646  (opens in a new tab)
CWE-916  (opens in a new tab)

How to fix?

Upgrade buttercup to version 7.4.0 or higher.

Overview

buttercup is an A NodeJS password vault.

Affected versions of this package are vulnerable to Use of Password Hash Instead of Password for Authentication via accessing the /vaults.json/ file. An attacker can obtain the hash of the master password by accessing this file.

PoC


cat ~/local/share/Buttercup-nodejs/vaults.json

CVSS Scores

version 3.1