Credential Exposure Affecting appwrite-cli package, versions <3.0.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.04% (11th 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-APPWRITECLI-6156659
  • published 14 Jan 2024
  • disclosed 9 Jan 2024
  • credit Unknown

How to fix?

Upgrade appwrite-cli to version 3.0.0 or higher.

Overview

appwrite-cli is an Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API

Affected versions of this package are vulnerable to Credential Exposure in a preferences file with insecure permissions (644). An attacker with local access to the system can read the credentials stored in the ~/.appwrite/prefs.json file.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

5.5 medium