{"answers":{"affected":"4 open source packages ship an affected version, including io.sentry:sentry-android and io.sentry:sentry-android-replay.","exploited":"There is no known exploitation of GHSA-7cjh-xx4r-qh3f in the wild and no public exploit code.","fix":"Upgrade io.sentry:sentry-android to 8.14.0 or later.","what":"GHSA-7cjh-xx4r-qh3f is a vulnerability in io.sentry:sentry-android, published on 20 Jun 2025."},"fix_prompt":"Check this codebase for GHSA-7cjh-xx4r-qh3f and fix it if it is affected.\n\nWhat it is: GHSA-7cjh-xx4r-qh3f is a vulnerability in io.sentry:sentry-android, published on 20 Jun 2025. \nExploitation: There is no known exploitation of GHSA-7cjh-xx4r-qh3f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.sentry:sentry-android (Maven): affected all versions; fixed in 8.14.0\n- io.sentry:sentry-android (Maven): affected all versions; fixed in 8.14.0\n- io.sentry:sentry-android-replay (Maven): affected all versions; fixed in 8.14.0\n- io.sentry:sentry-android-replay (Maven): affected all versions; fixed in 8.14.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-7cjh-xx4r-qh3f/ (Markdown: https://insights.sbomify.com/GHSA-7cjh-xx4r-qh3f/index.md)","id":"GHSA-7cjh-xx4r-qh3f","markdown":"https://insights.sbomify.com/GHSA-7cjh-xx4r-qh3f/index.md","name":"GHSA-7cjh-xx4r-qh3f","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nUnder specific circumstances, text composables may contain unmasked sensitive data in Android session replays.  You may be impacted if you meet the following conditions:\n- Using any `sentry-android` with versions \u003c 8.14.0 \n- Using Jetpack Compose \u003e= [1.8.0-alpha08](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0-alpha08)\n  - This includes any alpha, beta, release candidate, or general availability after this version\n- Have configured Sentry Session Replays for Android\n\n\u003e [!IMPORTANT] \n\u003e If you do not use Jetpack Compose or have never used a version \u003e= 1.8.0-alpha08 you are not impacted. \n\n\u003e [!IMPORTANT] \n\u003e If you have not configured [Session Replays for Mobile](https://docs.sentry.io/product/explore/session-replay/mobile/) you are not impacted.\n\n### How do I check if I'm impacted?\n\nIf you meet the conditions above, the `sentry-android` package includes a [specific error log](https://github.com/getsentry/sentry-java/blob/b2920907e6afb69a8027cedb251dd94a3514f0e6/sentry-android-replay/src/main/java/io/sentry/android/replay/viewhierarchy/ComposeViewHierarchyNode.kt#L252-L261) that would indicate you may be impacted. Customers may use [logcat](https://developer.android.com/tools/logcat) to search for this event.\n\n### I'm impacted and want this data deleted\n\nIf you've confirmed that you're affected and unmasked sensitive data in Session Replays have reached Sentry servers, you can please see this documentation on [deleting individual replays](https://docs.sentry.io/product/explore/session-replay/web/replay-details/#delete-replays). If you'd like to request bulk deletion, please reach out to your Account Manager or support@sentry.io to request deletion. \n\n### Patches\n\nUpgrade the `sentry-android` SDK to version [8.14.0](https://github.com/getsentry/sentry-java/releases/tag/8.14.0)\n\n### Workarounds\n\nWe recommend upgrading to the latest version of the SDK, but if it is not an option, customers may either:\n- Downgrade their use of Jetpack Compose to \u003c= 1.7.x\n- Drop session sample rates to 0.0 \n```\noptions.sessionReplay.onErrorSampleRate = 0.0\noptions.sessionReplay.sessionSampleRate = 0.0\n```\nPlease see our documentation for more information configuring [Session Replays for Android](https://docs.sentry.io/platforms/android/session-replay/#set-up).\n\n### References\n\nThis issue was identified in Issue https://github.com/getsentry/sentry-java/issues/4467 and fixed in https://github.com/getsentry/sentry-java/pull/4485","ecosystems":["Maven"],"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-android unmasked sensitive data in Android Session Replays for users of Jetpack Compose 1.8+","id":"GHSA-7cjh-xx4r-qh3f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2025"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["8.14.0"],"introduced":["0"],"last_affected":[],"package":"io.sentry:sentry-android","purl":null,"source":"GHSA-7cjh-xx4r-qh3f"},{"ecosystem":"Maven","fixed":["8.14.0"],"introduced":["0"],"last_affected":[],"package":"io.sentry:sentry-android","purl":"pkg:maven/io.sentry/sentry-android","source":"GHSA-7cjh-xx4r-qh3f"},{"ecosystem":"Maven","fixed":["8.14.0"],"introduced":["0"],"last_affected":[],"package":"io.sentry:sentry-android-replay","purl":null,"source":"GHSA-7cjh-xx4r-qh3f"},{"ecosystem":"Maven","fixed":["8.14.0"],"introduced":["0"],"last_affected":[],"package":"io.sentry:sentry-android-replay","purl":"pkg:maven/io.sentry/sentry-android-replay","source":"GHSA-7cjh-xx4r-qh3f"}],"products":null,"published":"2025-06-20","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":null,"url":"https://insights.sbomify.com/GHSA-7cjh-xx4r-qh3f/"}