GHSA-hgj4-h2x3-rfx4

Suggest an improvement
Source
https://github.com/advisories/GHSA-hgj4-h2x3-rfx4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-hgj4-h2x3-rfx4/GHSA-hgj4-h2x3-rfx4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hgj4-h2x3-rfx4
Aliases
Published
2023-08-09T20:58:47Z
Modified
2023-11-11T05:22:06.426384Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
Sentry vulnerable to incorrect credential validation on OAuth token requests
Details

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.

Database specific
{
    "nvd_published_at": "2023-08-09T17:15:09Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-09T20:58:47Z"
}
References

Affected packages

PyPI / sentry

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10.0.0
Fixed
23.7.2

Affected versions

10.*

10.0.0
10.0.1

20.*

20.6.0
20.7.0
20.7.1
20.7.2
20.8.0
20.10.1
20.11.0
20.11.1
20.12.0
20.12.1

21.*

21.1.0
21.2.0
21.3.0
21.3.1
21.4.0
21.4.1
21.5.0
21.5.1
21.6.0
21.6.1
21.6.2
21.6.3
21.7.0
21.8.0
21.9.0
21.10.0
21.11.0
21.12.0

22.*

22.1.0
22.2.0
22.3.0
22.4.0
22.5.0
22.6.0
22.7.0
22.8.0
22.9.0
22.10.0
22.11.0
22.12.0

23.*

23.1.0
23.1.1
23.2.0
23.3.0
23.3.1
23.4.0
23.5.0
23.5.1
23.5.2
23.6.0
23.6.1
23.6.2
23.7.0
23.7.1