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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- https://github.com/getsentry/sentry/security/advisories/GHSA-9jcq-jf57-c62c exploit patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/getsentry/sentry/pull/53850 patch
- https://github.com/getsentry/sentry/commit/fad12c1150d1135edf9666ea72ca11bc110c1083 patch
- https://github.com/getsentry/self-hosted/releases/tag/23.7.2 release-notes
- github.com product
- https://github.com/getsentry/sentry/releases/tag/23.7.2 release-notes
- github.com vendor-advisory
- pypi.org product