Vulnerability · Published Jul 6, 2023 · Assigned by GitHub_M
CVE-2023-36829Sentry CORS misconfiguration vulnerability
Medium 6.8
In plain English
A medium-severity incorrect authorization in sentry from getsentry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Sentry is an error tracking and performance monitoring platform. Starting in version 23.6.0 and prior to version 23.6.2, 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. The patch has been released in Sentry 23.6.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | sentry | 23.6.2 | GHSA-4xqm-4p72-87h6 |
| PyPI | sentry | 23.6.2 | PYSEC-2023-115 |
Affected products (as reported)
Weakness: CWE-942, CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/getsentry/sentry/security/advisories/GHSA-4xqm-4p72-87h6 x_refsource_CONFIRM
- https://github.com/getsentry/sentry/pull/52276 x_refsource_MISC
- https://github.com/getsentry/sentry/commit/ee44c6be35e5e464bc40637580f39867898acd8b x_refsource_MISC
- https://github.com/getsentry/self-hosted/releases/tag/23.6.2 x_refsource_MISC