logo

CVE-2023-39349 sentry

Package

Manager: pip
Name: sentry
Vulnerable Version: >=22.1.0 <23.7.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.0008 pctl0.24396

Details

Privilege escalation via ApiTokensEndpoint ### Impact 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 https://sentry.io. For self-hosted users, it is advised to rotate user auth tokens via `https://your-self-hosted-sentry-installation/settings/account/api/auth-tokens/`. ### Patches The issue was fixed in https://github.com/getsentry/sentry/pull/53850 and is available in the release 23.7.2 of [sentry](https://github.com/getsentry/sentry/releases/tag/23.7.2) and [self-hosted](https://github.com/getsentry/self-hosted/releases/tag/23.7.2). ### Workarounds There are no known workarounds.

Metadata

Created: 2023-08-08T20:46:12Z
Modified: 2023-08-08T20:46:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-9jcq-jf57-c62c/GHSA-9jcq-jf57-c62c.json
CWE IDs: ["CWE-284"]
Alternative ID: GHSA-9jcq-jf57-c62c
Finding: F039
Auto approve: 1