CVE-2022-23485: Invite code reuse via cookie manipulation in sentry
Sentry is an error tracking and performance monitoring platform. In versions of the sentry python library prior to 22.11.0 an attacker with a known valid invite link could manipulate a cookie to allow the same invite link to be reused on multiple accounts when joining an organization. As a result an attacker with a valid invite link can create multiple users and join an organization they may not have been originally invited to. This issue was patched in version 22.11.0. Sentry SaaS customers do not need to take action. Self-hosted Sentry installs on systems which can not upgrade 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/).
Other sources
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.
Impact An attacker with a valid invite link can create multiple users and join the organization from which the invite link was generated.
Patches This issue was patched in version 22.11.0.
Workarounds Sentry SaaS customers do not need to take action.
Self-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/).
1. Add the following line into sentry.conf.py:
python SENTRYFEATURES["organizations:invite-members"] = False 2. Restart the Sentry web service.
docker compose restart web
For more information If you have any questions or comments about this advisory: Visit our FAQs on this CVE Open an issue in getsentry/sentry Email us at security[@]sentry.io
— GitHub
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-23485?
CVE-2022-23485 is a vulnerability in the Sentry python library that allows an attacker with a known valid invite link to manipulate a cookie and reuse the same invite link on multiple accounts when joining an organization.
What is the severity of CVE-2022-23485?
The severity of CVE-2022-23485 is medium with a severity value of 3.7.
How does CVE-2022-23485 affect Sentry?
CVE-2022-23485 affects versions of the Sentry python library prior to 22.11.0.
How can an attacker exploit CVE-2022-23485?
An attacker with a known valid invite link can manipulate a cookie to reuse the same invite link on multiple accounts when joining an organization.
Is there a fix for CVE-2022-23485?
Yes, upgrading to version 22.11.0 or later of the Sentry python library fixes the vulnerability.