CVE-2023-32303
JSON

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 packageVersionsReported by
planetlabs planet-client-python< 2.0.1CVE List
planet (PyPI)before 2.0.1, before d71415a83119c5e89d7b80d5f940d162376ee3b7GitHub Advisory Database, PyPA Advisory Database
planet planetbefore 2.0.1NVD

All scores

GitHub_M5.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
GitHub5.5high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-732

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

d71415a8

Workarounds

Set the secret file permissions to only user read/write by hand:

chmod 600 ~/.planet.json

References

Sources

SourceRecordLicence
CVE ListCVE-2023-32303 changed 2025-01-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-j5fj-rfh6-qj85 changed 2024-10-14CC-BY-4.0
NVDCVE-2023-32303 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-71 changed 2023-11-08CC-BY-4.0