Skip to content

CVE-2023-39349 Sentry vulnerable to privilege escalation via ApiTokensEndpoint

HighCVSS 8.1 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Sentry is an error tracking and performance monitoring platform. Starting in version 22.1.0 and prior to version 23.7.2, an attacker with access to a token with few or no scopes can query /api/0/api-tokens/ for a list of all tokens created by a user, including tokens with greater scopes, and use those tokens in other requests. There is no evidence that the issue was exploited on sentry.io. For self-hosted users, it is advised to rotate user auth tokens. A fix is available in version 23.7.2 of sentry and self-hosted. There are no known workarounds.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
getsentry sentry = >= 22.1.0, < 23.7.2; >= 22.1.0, < 23.7.2 23.7.2 Fixed
pypi sentry(PyPI) = 22.1.0; = 22.2.0; = 22.3.0; = 22.4.0 +23 more 23.7.2 Fixed
sentry >= 22.1.0, < 23.7.2 23.7.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi sentry(PyPI) >= 22.1.0, < 23.7.2 23.7.2
pypi sentry(PyPI) = 22.1.0 No fix listed
pypi sentry(PyPI) = 22.10.0 No fix listed
pypi sentry(PyPI) = 22.11.0 No fix listed
pypi sentry(PyPI) = 22.12.0 No fix listed
pypi sentry(PyPI) = 22.2.0 No fix listed
pypi sentry(PyPI) = 22.3.0 No fix listed
pypi sentry(PyPI) = 22.4.0 No fix listed
pypi sentry(PyPI) = 22.5.0 No fix listed
pypi sentry(PyPI) = 22.6.0 No fix listed
pypi sentry(PyPI) = 22.7.0 No fix listed
pypi sentry(PyPI) = 22.8.0 No fix listed
pypi sentry(PyPI) = 22.9.0 No fix listed
pypi sentry(PyPI) = 23.1.0 No fix listed
pypi sentry(PyPI) = 23.1.1 No fix listed
pypi sentry(PyPI) = 23.2.0 No fix listed
pypi sentry(PyPI) = 23.3.0 No fix listed
pypi sentry(PyPI) = 23.3.1 No fix listed
pypi sentry(PyPI) = 23.4.0 No fix listed
pypi sentry(PyPI) = 23.5.0 No fix listed
pypi sentry(PyPI) = 23.5.1 No fix listed
pypi sentry(PyPI) = 23.5.2 No fix listed
pypi sentry(PyPI) = 23.6.0 No fix listed
pypi sentry(PyPI) = 23.6.1 No fix listed
pypi sentry(PyPI) = 23.6.2 No fix listed
Show 5 more
ProductAffected versionsFixed in
pypi sentry(PyPI) = 23.7.0 No fix listed
pypi sentry(PyPI) = 23.7.1 No fix listed
getsentry sentry = >= 22.1.0, < 23.7.2 No fix listed
getsentry sentry >= 22.1.0, < 23.7.2 23.7.2
sentry >= 22.1.0, < 23.7.2 23.7.2

References