GHSA-593m-55hh-j8gv Sentry SDK Prototype Pollution gadget in JavaScript SDKs
Sentry SDK acts as a gadget for existing Prototype Pollution vulnerabilities, potentially enabling code execution if the host application is vulnerable.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-593m-55hh-j8gv?
GHSA-593m-55hh-j8gv is a vulnerability in @sentry/browser, published on 3 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
In case a Prototype Pollution vulnerability is present in a user's application or bundled libraries, the Sentry SDK could potentially serve as a gadget to exploit that vulnerability. The exploitability depends on the specific details of the underlying Prototype Pollution issue.
> [!NOTE] > This advisory does not indicate the presence of a Prototype Pollution within the Sentry SDK itself. Users are strongly advised to first address any Prototype Pollution vulnerabilities in their application, as they pose a more critical security risk.
Patches
The issue was patched in all Sentry JavaScript SDKs starting from the 8.33.0 version. Also, the fix was backported to SDK v7 in 7.119.1.
References
Which versions are affected by GHSA-593m-55hh-j8gv?
4 open source packages ship an affected version, including @sentry/browser.
| Package | Affected | Fixed in |
|---|---|---|
@sentry/browser npm | All versions | 7.119.1 |
@sentry/browser npm | All versions | 7.119.1 |
@sentry/browser npm | From 8.0.0-alpha.1 | 8.33.0 |
@sentry/browser npm | From 8.0.0-alpha.1 | 8.33.0 |
How do I fix GHSA-593m-55hh-j8gv?
Upgrade @sentry/browser to a fixed version for your release line: 7.119.1 or 8.33.0.
Is GHSA-593m-55hh-j8gv being exploited?
There is no known exploitation of GHSA-593m-55hh-j8gv in the wild and no public exploit code.