CVE-2023-39531: Sentry vulnerable to incorrect credential validation on OAuth token requests
Impact
An attacker with sufficient client-side exploits could retrieve a valid access token for another user during the OAuth token exchange due to incorrect credential validation. The client ID must be known and the API application must have already been authorized on the targeted user account.
Remediation
- Sentry SaaS customers do not need to take any action. Those with the highest risk will be contacted directly by Sentry. - Self-hosted installations should upgrade to version 23.7.2 or higher.
Workarounds
There are no direct workarounds, but users should review applications authorized on their account (User Settings > Authorized Applications) and remove any that are no longer needed.
Other sources
Sentry is an error tracking and performance monitoring platform. Starting in version 10.0.0 and prior to version 23.7.2, an attacker with sufficient client-side exploits could retrieve a valid access token for another user during the OAuth token exchange due to incorrect credential validation. The client ID must be known and the API application must have already been authorized on the targeted user account. Sentry SaaS customers do not need to take any action. Self-hosted installations should upgrade to version 23.7.2 or higher. There are no direct workarounds, but users should review applications authorized on their account and remove any that are no longer needed.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the impact of CVE-2023-39531?
An attacker with sufficient client-side exploits could retrieve a valid access token for another user during the OAuth token exchange due to incorrect credential validation.
How can an attacker exploit CVE-2023-39531?
The attacker needs to have knowledge of the client ID and the API application must have been authorized on the targeted user account.
What is the severity of CVE-2023-39531?
The severity of CVE-2023-39531 is medium with a severity value of 6.8.
What is the remedy for CVE-2023-39531?
The remedy for CVE-2023-39531 is to upgrade to version 23.7.2 of the Sentry package.
Where can I find more information about CVE-2023-39531?
You can find more information about CVE-2023-39531 at the following references: [GitHub Advisory](https://github.com/getsentry/sentry/security/advisories/GHSA-hgj4-h2x3-rfx4) and [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-39531).