{ "schema_version": "1.4.0", "id": "GHSA-jv85-mqxj-3f9j", "modified": "2024-10-22T17:30:35Z", "published": "2022-12-12T21:27:09Z", "aliases": [ "CVE-2022-23485" ], "summary": "Sentry vulnerable to invite code reuse via cookie manipulation", "details": "With a known valid invite link (i.e. not already accepted or expired) an unauthenticated attacker can manipulate the cookie to allow the same invite link to be reused on multiple accounts when joining an organization.\n\n### Impact\nAn attacker with a valid invite link can create multiple users and join the organization from which the invite link was generated.\n\n### Patches\nThis issue was patched in version 22.11.0.\n\n### Workarounds\nSentry SaaS customers do not need to take action.\n\nSelf-hosted Sentry installs can disable the invite functionality until they are ready to deploy the patched version by editing their `sentry.conf.py` file (usually located at `~/.sentry/`).\n\n1. Add the following line into `sentry.conf.py`:\n\n ```python\n SENTRY_FEATURES[\"organizations:invite-members\"] = False\n ```\n2. Restart the Sentry web service.\n\n ```\n docker compose restart web\n ```\n\n### For more information\nIf you have any questions or comments about this advisory:\n* [Visit our FAQs on this CVE](https://help.sentry.io/account/security/cve-2022-23485-faqs/)\n* Open an issue in [getsentry/sentry](http://github.com/getsentry/sentry)\n* Email us at security[@]sentry.io\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "sentry" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "20.6.0" }, { "fixed": "22.11.0" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/getsentry/sentry/security/advisories/GHSA-jv85-mqxj-3f9j" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23485" }, { "type": "WEB", "url": "https://github.com/getsentry/sentry/commit/565f971da955d57c754a47f5802fe9f9f7c66b39" }, { "type": "PACKAGE", "url": "https://github.com/getsentry/sentry" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2022-43011.yaml" } ], "database_specific": { "cwe_ids": [ "CWE-269", "CWE-284" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2022-12-12T21:27:09Z", "nvd_published_at": "2022-12-10T01:15:00Z" } }