GHSA-j5fj-rfh6-qj85HighCVSS 5.5

Planet's secret file is created with excessive permissions

Published
May 12, 2023
Last Modified
October 11, 2024

🔗 CVE IDs covered (1)

📋 Description

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.json

🎯 Affected products1

  • pip/planet:< 2.0.1

🔗 References (6)