Credential Exposure Affecting appwrite-cli package, versions <3.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (7th 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-JS-APPWRITECLI-6156659
  • published14 Jan 2024
  • disclosed9 Jan 2024
  • creditUnknown

Introduced: 9 Jan 2024

CVE-2023-50974  (opens in a new tab)
CWE-256  (opens in a new tab)

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 Base Scores

version 3.1