CVE-2023-36829: Sentry CORS misconfiguration

CVE-2023-36829 · Severity: low · CVSS 3.1 · Published 2023-07-06

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.

Technologies: sentry (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2023-36829 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-36829 being exploited in the wild.
How severe is CVE-2023-36829?
Low severity, with a CVSS score of 3.1, published 6 July 2023.
Which products and versions are affected?
sentry (PyPI) ECOSYSTEM:introduced=23.6.0,fixed=23.6.2, GIT:introduced=0,fixed=ee44c6be35e5e464bc40637580f39867898acd8b|ECOSYSTEM:introduced=23.6.0,fixed=23.6.2.
Is there a fix for CVE-2023-36829?
Yes. sentry (PyPI): upgrade to 23.6.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-36829?
Check whether you run sentry (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • sentry (PyPI): upgrade to 23.6.2 or later
    pip install "sentry>=23.6.2"

Affected products

  • sentry (PyPI) ECOSYSTEM:introduced=23.6.0,fixed=23.6.2, GIT:introduced=0,fixed=ee44c6be35e5e464bc40637580f39867898acd8b|ECOSYSTEM:introduced=23.6.0,fixed=23.6.2

Identifiers

  • CVE-2023-36829
  • GHSA-4xqm-4p72-87h6
  • PYSEC-2023-115

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.