Vulnerability Details : CVE-2023-39349
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.
Vulnerability category: BypassGain privilege
Products affected by CVE-2023-39349
- cpe:2.3:a:sentry:sentry:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-39349
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-39349
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
2.8
|
5.2
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
2.8
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2023-39349
-
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.Assigned by: security-advisories@github.com (Primary)
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-39349
-
https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c
Privilege escalation via ApiTokensEndpoint · Advisory · getsentry/sentry · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083
SessionNoAuthTokenAuthentication custom authenticator (#53850) · getsentry/sentry@fad12c1 · GitHubPatch
-
https://github.com/getsentry/sentry/pull/53850
SessionNoAuthTokenAuthentication custom authenticator by oioki · Pull Request #53850 · getsentry/sentry · GitHubPatch
-
https://github.com/getsentry/sentry/releases/tag/23.7.2
Release 23.7.2 · getsentry/sentry · GitHubRelease Notes
-
https://github.com/getsentry/self-hosted/releases/tag/23.7.2
Release 23.7.2 · getsentry/self-hosted · GitHubRelease Notes
Jump to