CVE-2022-23485 Invite code reuse via cookie manipulation in sentry

Medium 6.4 Published Updated

Attackers can reuse invite links via cookie manipulation to create multiple accounts and join organizations without authorization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-23485?

CVE-2022-23485 is a medium-severity vulnerability in getsentry sentry, published on 10 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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/`).

Weakness: CWE-284, CWE-269

Which versions are affected by CVE-2022-23485?

3 open source packages ship an affected version, including sentry. It affects 1 product.

PackageAffectedFixed in
sentry PyPIFrom 20.6.022.11.0
sentry PyPIFrom 20.6.022.11.0
sentry PyPIFrom 20.6.022.11.0

Products include Sentry Sentry.

How do I fix CVE-2022-23485?

Upgrade sentry to 22.11.0 or later.

Is CVE-2022-23485 being exploited?

There is no known exploitation of CVE-2022-23485 in the wild and no public exploit code.

Sources

Also known as GHSA-jv85-mqxj-3f9j, PYSEC-2022-43011, UBUNTU-CVE-2022-23485.

Is CVE-2022-23485 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free