Impact
A Regular Expression Denial of Service (ReDoS) vulnerability exists in Sentry's event ingestion pipeline, where a regex applied to attacker-controlled fields on incoming events can be made to consume disproportionate CPU time.
Who is affected:
- SaaS (
sentry.io): already fixed and deployed. No action required from SaaS users.
- Self-hosted: a small burst of malicious events can degrade ingestion throughput on the shared event-processing worker pool, affecting unrelated projects on the same instance.
Patches
#116587
Workarounds
We strongly encourage to upgrade to the latest available version. If this is not possible, operators of self-hosted instances may apply the following mitigations:
- Tighten per-DSN ingest rate limits on projects whose DSNs are publicly exposed. These are configured under Project Settings → Client Keys (DSN) → Rate Limits. General self-hosted operations guidance is available at https://develop.sentry.dev/self-hosted/.
- Monitor for sustained high CPU on taskworker processes and on the events-consumer.
References
Impact
A Regular Expression Denial of Service (ReDoS) vulnerability exists in Sentry's event ingestion pipeline, where a regex applied to attacker-controlled fields on incoming events can be made to consume disproportionate CPU time.
Who is affected:
sentry.io): already fixed and deployed. No action required from SaaS users.Patches
#116587
Workarounds
We strongly encourage to upgrade to the latest available version. If this is not possible, operators of self-hosted instances may apply the following mitigations:
References