{"answers":{"affected":"4 open source packages ship an affected version, including @sentry/browser.","exploited":"There is no known exploitation of GHSA-593m-55hh-j8gv in the wild and no public exploit code.","fix":"Upgrade @sentry/browser to a fixed version for your release line: 7.119.1 or 8.33.0.","what":"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."},"fix_prompt":"Check this codebase for GHSA-593m-55hh-j8gv and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of GHSA-593m-55hh-j8gv in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @sentry/browser (npm): affected all versions; fixed in 7.119.1\n- @sentry/browser (npm): affected all versions; fixed in 7.119.1\n- @sentry/browser (npm): affected from 8.0.0-alpha.1; fixed in 8.33.0\n- @sentry/browser (npm): affected from 8.0.0-alpha.1; fixed in 8.33.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-593m-55hh-j8gv/ (Markdown: https://insights.sbomify.com/GHSA-593m-55hh-j8gv/index.md)","id":"GHSA-593m-55hh-j8gv","markdown":"https://insights.sbomify.com/GHSA-593m-55hh-j8gv/index.md","name":"GHSA-593m-55hh-j8gv","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript SDK","requires_auth":"none","summary":"Sentry SDK acts as a gadget for existing Prototype Pollution vulnerabilities, potentially enabling code execution if the host application is vulnerable.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nIn 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.\n\n\u003e [!NOTE]\n\u003e 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.\n\n### Patches\nThe issue was patched in all Sentry JavaScript SDKs starting from the [8.33.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.33.0) version.\nAlso, the fix was backported to SDK v7 in [7.119.1](https://github.com/getsentry/sentry-javascript/releases/tag/7.119.1).\n\n### References\n* [Prototype Pollution](https://portswigger.net/web-security/prototype-pollution)\n* [Prototype Pollution gadgets](https://portswigger.net/web-security/prototype-pollution#prototype-pollution-gadgets)\n* [sentry-javascript#13838](https://github.com/getsentry/sentry-javascript/pull/13838)","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Sentry SDK Prototype Pollution gadget in JavaScript SDKs","id":"GHSA-593m-55hh-j8gv","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2024"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["7.119.1"],"introduced":["0"],"last_affected":[],"package":"@sentry/browser","purl":null,"source":"GHSA-593m-55hh-j8gv"},{"ecosystem":"npm","fixed":["7.119.1"],"introduced":["0"],"last_affected":[],"package":"@sentry/browser","purl":"pkg:npm/%40sentry/browser","source":"GHSA-593m-55hh-j8gv"},{"ecosystem":"npm","fixed":["8.33.0"],"introduced":["8.0.0-alpha.1"],"last_affected":[],"package":"@sentry/browser","purl":null,"source":"GHSA-593m-55hh-j8gv"},{"ecosystem":"npm","fixed":["8.33.0"],"introduced":["8.0.0-alpha.1"],"last_affected":[],"package":"@sentry/browser","purl":"pkg:npm/%40sentry/browser","source":"GHSA-593m-55hh-j8gv"}],"products":null,"published":"2024-10-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Sentry SDK acts as a gadget for existing Prototype Pollution vulnerabilities, potentially enabling code execution if the host application is vulnerable.","url":"https://insights.sbomify.com/GHSA-593m-55hh-j8gv/"}