planet
Affected
- introduced
0, fixed2.0.1(ecosystem)
Fixed versions
2.0.1
Fix
- Fixed version
2.0.1pip install --upgrade planet==2.0.1
Advisory
Also known as: CVE-2023-32303, PYSEC-2023-71
Planet's secret file is created with excessive permissions
Impact
The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but its permissions allowed the user's group and non-group to read the file as well.
Validation
Check the permissions on the secret file with ls -l ~/.planet.json and ensure that they read as -rw-------
Patches
d71415a8
Workarounds
Set the secret file permissions to only user read/write by hand:
chmod 600 ~/.planet.jsonHigh Basis: The source's own band: HIGH
0, fixed 2.0.1 (ecosystem)2.0.1
2.0.1pip install --upgrade planet==2.0.1Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0