GHSA-jv85-mqxj-3f9j

Suggest an improvement
Source
https://github.com/advisories/GHSA-jv85-mqxj-3f9j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-jv85-mqxj-3f9j/GHSA-jv85-mqxj-3f9j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jv85-mqxj-3f9j
Aliases
Published
2022-12-12T21:27:09Z
Modified
2024-10-22T18:02:16.694458Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L CVSS Calculator
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.

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:
     SENTRY_FEATURES["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

References

Affected packages

PyPI / sentry

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
20.6.0
Fixed
22.11.0

Affected versions

20.*

20.6.0
20.7.0
20.7.1
20.7.2
20.8.0
20.10.1
20.11.0
20.11.1
20.12.0
20.12.1

21.*

21.1.0
21.2.0
21.3.0
21.3.1
21.4.0
21.4.1
21.5.0
21.5.1
21.6.0
21.6.1
21.6.2
21.6.3
21.7.0
21.8.0
21.9.0
21.10.0
21.11.0
21.12.0

22.*

22.1.0
22.2.0
22.3.0
22.4.0
22.5.0
22.6.0
22.7.0
22.8.0
22.9.0
22.10.0