Vulnerability · Published Jan 9, 2024 · Assigned by mitre

CVE-2023-50974

Medium 5.5

In plain English

A medium-severity hard-coded credentials in the appwrite package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 78.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIappwrite3.0.0GHSA-g777-crp9-m27g
PyPIappwrite3.0.0PYSEC-2024-2
npmappwrite-cli3.0.0GHSA-g777-crp9-m27g

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-798 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References