logo

CVE-2023-36829 sentry

Package

Manager: pip
Name: sentry
Vulnerable Version: >=23.6.0 <23.6.2

Severity

Level: Medium

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

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

EPSS: 0.0015 pctl0.3611

Details

Sentry CORS misconfiguration ### Impact The Sentry API incorrectly returns the `access-control-allow-credentials: true` HTTP header if the `Origin` request header ends with the `system.base-hostname` option of Sentry installation. This only affects installations that have `system.base-hostname` option explicitly set, as it is empty by default. Impact is limited since recent versions of major browsers have cross-site cookie blocking enabled by default. However, this flaw could allow other multi-step attacks. ### Patches The patch has been released in [Sentry 23.6.2](https://github.com/getsentry/self-hosted/releases/tag/23.6.2). ### Workarounds For Sentry SaaS customers, no action is needed. For self-hosted Sentry installations that have `system.base-hostname` explicitly set, it is recommended to upgrade the installation to 23.6.2 or higher. There are no known workarounds. ### References - [getsentry/sentry PR #52276](https://github.com/getsentry/sentry/pull/52276) ### Credits - [@andr0idp4r4n0id](https://twitter.com/andr0idp4r4n0id)

Metadata

Created: 2023-07-06T22:55:44Z
Modified: 2023-07-06T22:55:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-4xqm-4p72-87h6/GHSA-4xqm-4p72-87h6.json
CWE IDs: ["CWE-697", "CWE-863", "CWE-942"]
Alternative ID: GHSA-4xqm-4p72-87h6
Finding: F184
Auto approve: 1