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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.08% (34th 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 ID SNYK-JS-BUTTERCUP-6125595
  • published 14 Dec 2023
  • disclosed 8 Sep 2023
  • credit perry-mitchell

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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

5.3 medium