CVE-2023-39349

Sentry vulnerable to privilege escalation via ApiTokensEndpoint

Published Aug 7, 2023 CVSS 3.1 · 8.1 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-2258 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.
Github GHSA Github GHSA GHSA-9jcq-jf57-c62c Privilege escalation via ApiTokensEndpoint
History
Type Values Removed Values Added
First Time appeared Getsentry
Getsentry sentry
CPEs cpe:2.3:a:getsentry:sentry:*:*:*:*:*:*:*:*
Vendors & Products Getsentry
Getsentry sentry
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 4, 2024, 7:12 PM
Reserved
Jul 28, 2023, 1:26 PM
Status
Modified
Published
Aug 7, 2023, 7:15 PM
Modified
Jun 17, 2026, 6:12 AM