5.2medium
Planet's secret file is created with excessive permissions
- Severity
- 5.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j5fj-rfh6-qj85PYSEC-2023-71
Description
Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the file as well. This issue was patched in version 2.0.1. As a workaround, set the secret file permissions to only user read/write by hand.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| planetlabs planet-client-python | < 2.0.1 | CVE List |
| planet (PyPI) | before 2.0.1, before d71415a83119c5e89d7b80d5f940d162376ee3b7 | GitHub Advisory Database, PyPA Advisory Database |
| planet planet | before 2.0.1 | NVD |
All scores
| GitHub_M | 5.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 5.5high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the file as well. This issue was patched in version 2.0.1. As a workaround, set the secret file permissions to only user read/write by hand.
GitHub Advisory Database
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
Workarounds
Set the secret file permissions to only user read/write by hand:
chmod 600 ~/.planet.json
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-32303 changed 2025-01-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j5fj-rfh6-qj85 changed 2024-10-14 | CC-BY-4.0 |
| NVD | CVE-2023-32303 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2023-71 changed 2023-11-08 | CC-BY-4.0 |