{"id":"GHSA-j5fj-rfh6-qj85","summary":"Planet's secret file is created with excessive permissions","details":"### Impact\nThe 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. \n\n### Validation\nCheck the permissions on the secret file with `ls -l ~/.planet.json` and ensure that they read as `-rw-------`\n\n### Patches\n[d71415a8](https://github.com/planetlabs/planet-client-python/commit/d71415a83119c5e89d7b80d5f940d162376ee3b7)\n\n### Workarounds\nSet the secret file permissions to only user read/write by hand:\n```\nchmod 600 ~/.planet.json\n```\n","aliases":["CVE-2023-32303","PYSEC-2023-71"],"modified":"2024-10-14T18:36:31.307101Z","published":"2023-05-12T20:55:36Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-05-12T20:55:36Z","nvd_published_at":"2023-05-12T21:15:09Z","cwe_ids":["CWE-732"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/planetlabs/planet-client-python/security/advisories/GHSA-j5fj-rfh6-qj85"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32303"},{"type":"WEB","url":"https://github.com/planetlabs/planet-client-python/commit/d71415a83119c5e89d7b80d5f940d162376ee3b7"},{"type":"PACKAGE","url":"https://github.com/planetlabs/planet-client-python"},{"type":"WEB","url":"https://github.com/planetlabs/planet-client-python/releases/tag/2.0.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/planet/PYSEC-2023-71.yaml"}],"affected":[{"package":{"name":"planet","ecosystem":"PyPI","purl":"pkg:pypi/planet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","1.0.0","1.0.1","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.10","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5.0","1.5.1","1.5.2","2.0.0","2.0.0b1","2.0.0rc1","2.0.0rc2","2.0a1","2.0a2","2.0a3","2.0a5","2.0a5.dev0","2.0a6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}