Upstream information
Description
sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry's Python SDK < 2.8.0 allows the environment variables to be passed to subprocesses despite the `env={}` setting. In Python's `subprocess` calls, all environment variables are passed to subprocesses by default. However, if you specifically do not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls. Due to the bug in Sentry SDK, with the Stdlib integration enabled (which is enabled by default), this expectation is not fulfilled, and all environment variables are being passed to subprocesses instead. The issue has been patched in pull request #3251 and is included in sentry-sdk==2.8.0. We strongly recommend upgrading to the latest SDK version. However, if it's not possible, and if passing environment variables to child processes poses a security risk for you, you can disable all default integrations.SUSE information
Overall state of this security issue: Resolved
This issue is currently not rated by SUSE as it is not affecting the SUSE Enterprise products.
SUSE Bugzilla entry: 1228128 [IN_PROGRESS]SUSE Security Advisories:
- openSUSE-SU-2024:0214-1, published Tue Jul 23 22:48:17 2024
List of released packages
Product(s) | Fixed package version(s) | References |
---|---|---|
SUSE Package Hub 15 SP5 |
| Patchnames: openSUSE-2024-214 |
SUSE Package Hub 15 SP6 |
| Patchnames: openSUSE-2024-215 |
openSUSE Leap 15.5 |
| Patchnames: openSUSE-2024-214 |
openSUSE Leap 15.6 |
| Patchnames: openSUSE-2024-215 |
openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2024-14209 |
SUSE Timeline for this CVE
CVE page created: Thu Jul 18 20:00:19 2024CVE page last modified: Tue Sep 3 19:35:55 2024