Advisory

GHSA-g777-crp9-m27g

Also known as: CVE-2023-50974, PYSEC-2024-2

Summary

Apprite CLI makes Use of Hard-coded Credentials

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-01-09 09:30 UTC
Modified
2024-09-13 14:23 UTC

Affected packages and fixes

appwrite-cli

npm · All systems

Affected

  • introduced 0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

Fix

appwrite

PyPI · All systems

Affected

  • introduced 0, fixed 3.0.0 (ecosystem)

Fixed versions

3.0.0

Fix

  • Fixed version 3.0.0
    pip install --upgrade appwrite==3.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences