Advisory

GHSA-4xqm-4p72-87h6

Also known as: CVE-2023-36829, PYSEC-2023-115

Summary

Sentry CORS misconfiguration

Details

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.

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

Credits

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-07-06 22:55 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

sentry

PyPI · All systems

Affected

  • introduced 23.6.0, fixed 23.6.2 (ecosystem)

Fixed versions

23.6.2

Fix

  • Fixed version 23.6.2
    pip install --upgrade sentry==23.6.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences