{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"low"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2024-40647","title":"Title"},{"category":"description","text":"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.\n","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2024-40647","url":"https://www.suse.com/security/cve/CVE-2024-40647"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1228128 for CVE-2024-40647","url":"https://bugzilla.suse.com/1228128"},{"category":"external","summary":"Advisory link for openSUSE-SU-2024:0214-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/J6DLLMQ4P74VFN7WOQ3UL2VM6BAM22WL/"}],"title":"SUSE CVE CVE-2024-40647","tracking":{"current_release_date":"2025-03-15T04:56:51Z","generator":{"date":"2024-07-19T02:38:51Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2024-40647","initial_release_date":"2024-07-19T02:38:51Z","revision_history":[{"date":"2024-07-19T02:38:51Z","number":"2","summary":"Current version"},{"date":"2024-07-20T02:52:24Z","number":"3","summary":"Current version"},{"date":"2024-07-26T03:12:06Z","number":"4","summary":"Current version"},{"date":"2025-01-01T00:57:03Z","number":"5","summary":"Current version"},{"date":"2025-02-14T04:48:34Z","number":"6","summary":"Current version"},{"date":"2025-02-16T04:40:39Z","number":"7","summary":"Current version"},{"date":"2025-03-15T04:56:51Z","number":"8","summary":"Current version"}],"status":"interim","version":"8"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP5","product":{"name":"SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5"}},{"category":"product_name","name":"SUSE Package Hub 15 SP6","product":{"name":"SUSE Package Hub 15 SP6","product_id":"SUSE Package Hub 15 SP6"}},{"category":"product_name","name":"openSUSE Leap 15.5","product":{"name":"openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.5"}}},{"category":"product_name","name":"openSUSE Leap 15.6","product":{"name":"openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.6"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"python3-sentry-sdk-0.14.4-bp155.3.3.1","product":{"name":"python3-sentry-sdk-0.14.4-bp155.3.3.1","product_id":"python3-sentry-sdk-0.14.4-bp155.3.3.1","product_identification_helper":{"purl":"pkg:rpm/suse/python3-sentry-sdk@0.14.4-bp155.3.3.1"}}},{"category":"product_version","name":"python3-sentry-sdk-0.14.4-bp156.4.3.1","product":{"name":"python3-sentry-sdk-0.14.4-bp156.4.3.1","product_id":"python3-sentry-sdk-0.14.4-bp156.4.3.1","product_identification_helper":{"purl":"pkg:rpm/suse/python3-sentry-sdk@0.14.4-bp156.4.3.1"}}},{"category":"product_version","name":"python310-sentry-sdk-2.10.0-1.1","product":{"name":"python310-sentry-sdk-2.10.0-1.1","product_id":"python310-sentry-sdk-2.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python310-sentry-sdk@2.10.0-1.1"}}},{"category":"product_version","name":"python311-sentry-sdk-2.10.0-1.1","product":{"name":"python311-sentry-sdk-2.10.0-1.1","product_id":"python311-sentry-sdk-2.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-sentry-sdk@2.10.0-1.1"}}},{"category":"product_version","name":"python312-sentry-sdk-2.10.0-1.1","product":{"name":"python312-sentry-sdk-2.10.0-1.1","product_id":"python312-sentry-sdk-2.10.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python312-sentry-sdk@2.10.0-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python3-sentry-sdk-0.14.4-bp155.3.3.1 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:python3-sentry-sdk-0.14.4-bp155.3.3.1"},"product_reference":"python3-sentry-sdk-0.14.4-bp155.3.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"python3-sentry-sdk-0.14.4-bp156.4.3.1 as component of SUSE Package Hub 15 SP6","product_id":"SUSE Package Hub 15 SP6:python3-sentry-sdk-0.14.4-bp156.4.3.1"},"product_reference":"python3-sentry-sdk-0.14.4-bp156.4.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP6"},{"category":"default_component_of","full_product_name":{"name":"python3-sentry-sdk-0.14.4-bp155.3.3.1 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:python3-sentry-sdk-0.14.4-bp155.3.3.1"},"product_reference":"python3-sentry-sdk-0.14.4-bp155.3.3.1","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"python3-sentry-sdk-0.14.4-bp156.4.3.1 as component of openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6:python3-sentry-sdk-0.14.4-bp156.4.3.1"},"product_reference":"python3-sentry-sdk-0.14.4-bp156.4.3.1","relates_to_product_reference":"openSUSE Leap 15.6"},{"category":"default_component_of","full_product_name":{"name":"python310-sentry-sdk-2.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python310-sentry-sdk-2.10.0-1.1"},"product_reference":"python310-sentry-sdk-2.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python311-sentry-sdk-2.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python311-sentry-sdk-2.10.0-1.1"},"product_reference":"python311-sentry-sdk-2.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python312-sentry-sdk-2.10.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python312-sentry-sdk-2.10.0-1.1"},"product_reference":"python312-sentry-sdk-2.10.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2024-40647","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-40647"}],"notes":[{"category":"general","text":"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.\n","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP5:python3-sentry-sdk-0.14.4-bp155.3.3.1","SUSE Package Hub 15 SP6:python3-sentry-sdk-0.14.4-bp156.4.3.1","openSUSE Leap 15.5:python3-sentry-sdk-0.14.4-bp155.3.3.1","openSUSE Leap 15.6:python3-sentry-sdk-0.14.4-bp156.4.3.1","openSUSE Tumbleweed:python310-sentry-sdk-2.10.0-1.1","openSUSE Tumbleweed:python311-sentry-sdk-2.10.0-1.1","openSUSE Tumbleweed:python312-sentry-sdk-2.10.0-1.1"]},"references":[{"category":"external","summary":"CVE-2024-40647","url":"https://www.suse.com/security/cve/CVE-2024-40647"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1228128 for CVE-2024-40647","url":"https://bugzilla.suse.com/1228128"},{"category":"external","summary":"Advisory link for openSUSE-SU-2024:0214-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/J6DLLMQ4P74VFN7WOQ3UL2VM6BAM22WL/"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP5:python3-sentry-sdk-0.14.4-bp155.3.3.1","SUSE Package Hub 15 SP6:python3-sentry-sdk-0.14.4-bp156.4.3.1","openSUSE Leap 15.5:python3-sentry-sdk-0.14.4-bp155.3.3.1","openSUSE Leap 15.6:python3-sentry-sdk-0.14.4-bp156.4.3.1","openSUSE Tumbleweed:python310-sentry-sdk-2.10.0-1.1","openSUSE Tumbleweed:python311-sentry-sdk-2.10.0-1.1","openSUSE Tumbleweed:python312-sentry-sdk-2.10.0-1.1"]}],"threats":[{"category":"impact","date":"2024-07-18T18:00:19Z","details":"low"}],"title":"CVE-2024-40647"}]}