GHSA-J5FJ-RFH6-QJ85

Vulnerability from github – Published: 2023-05-12 20:55 – Updated: 2024-10-11 20:58
VLAI?
Summary
Planet's secret file is created with excessive permissions
Details

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
Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "planet"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2023-32303"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-732"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-12T20:55:36Z",
    "nvd_published_at": "2023-05-12T21:15:09Z",
    "severity": "HIGH"
  },
  "details": "### Impact\nThe secret file stores the user\u0027s Planet API authentication information. It should only be accessible by the user, but its permissions allowed the user\u0027s 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",
  "id": "GHSA-j5fj-rfh6-qj85",
  "modified": "2024-10-11T20:58:37Z",
  "published": "2023-05-12T20:55:36Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Planet\u0027s secret file is created with excessive permissions"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…