Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. appwrite-cli
  4. ›
  5. CVE-2023-50974

CVE-2023-50974: Apprite CLI makes Use of Hard-coded Credentials

January 9, 2024 (updated September 13, 2024)

In Appwrite CLI before 3.0.0, when using the login command, the credentials of the Appwrite user are stored in a ~/.appwrite/prefs.json file with 0644 as UNIX permissions. Any user of the local system can access those credentials.

References

  • appwrite.io/docs/tooling/command-line/installation
  • gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d
  • github.com/advisories/GHSA-g777-crp9-m27g
  • github.com/appwrite/sdk-for-cli
  • github.com/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-50974

Code Behaviors & Features

Detect and mitigate CVE-2023-50974 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-798: Use of Hard-coded Credentials

Source file

npm/appwrite-cli/CVE-2023-50974.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.