From 9d52165a6c5f93c2df1b9e214b06ae1bc8e72d7d Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 20:56:48 +0000 Subject: [PATCH] Publish GHSA-j5fj-rfh6-qj85 --- .../GHSA-j5fj-rfh6-qj85.json | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json diff --git a/advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json b/advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json new file mode 100644 index 00000000000..96b0340956e --- /dev/null +++ b/advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-j5fj-rfh6-qj85", + "modified": "2023-05-12T20:55:36Z", + "published": "2023-05-12T20:55:36Z", + "aliases": [ + "CVE-2023-32303" + ], + "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", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "planet" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.0.1" + } + ] + } + ] + } + ], + "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": "PACKAGE", + "url": "https://github.com/planetlabs/planet-client-python" + }, + { + "type": "WEB", + "url": "https://github.com/planetlabs/planet-client-python/releases/tag/2.0.1" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-732" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2023-05-12T20:55:36Z", + "nvd_published_at": null + } +} \ No newline at end of file