CVE-2024-40647
medium
CVSS v3
5.3
CVSS v4 NEW
โ
VIR risk
5.3
Description
Sentry's Python SDK unintentionally exposes environment variables to subprocesses
Predictions
Exploit likelihood
53%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.16.0-1 |
| sid | Fixed | 2.16.0-1 |
| forky | Fixed | 2.16.0-1 |
| bullseye | Fixed | 0.13.2-1+deb11u1 |
| bookworm | Affected | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | sentry-sdk | >=2.0.0a1,<2.8.0 | 2.8.0 |
| PyPI | sentry-sdk | <1.45.1 | 1.45.1 |
References
- https://github.com/getsentry/sentry-python/security/advisories/GHSA-g92j-qhmh-64v2
- https://nvd.nist.gov/vuln/detail/CVE-2024-40647
- https://github.com/getsentry/sentry-python/pull/3251
- https://github.com/getsentry/sentry-python/commit/763e40aa4cb57ecced467f48f78f335c87e9bdff
- https://docs.python.org/3/library/subprocess.html
- https://docs.sentry.io/platforms/python/integrations/default-integrations
- https://docs.sentry.io/platforms/python/integrations/default-integrations/#stdlib
- https://github.com/getsentry/sentry-python
- https://github.com/getsentry/sentry-python/releases/tag/1.45.1
- https://github.com/getsentry/sentry-python/releases/tag/2.8.0
- https://security-tracker.debian.org/tracker/CVE-2024-40647
- https://lists.debian.org/debian-lts-announce/2026/06/msg00001.html
CWEs
CWE-200
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.