{
  "cveId": "CVE-2024-40647",
  "url": "https://patchblox.com/security/cve/CVE-2024-40647",
  "summary": "CVE-2024-40647 is fixed in sentry-python on 1 platform, first by DEBIAN-CVE-2024-40647, released July 18, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "sentry-python: sentry-sdk is the official Python SDK for Sentry.io",
  "description": "sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry\u0027s Python SDK \u003C 2.8.0 allows the environment variables to be passed to subprocesses despite the \u0060env={}\u0060 setting. In Python\u0027s \u0060subprocess\u0060 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 \u0060env\u0060 argument in \u0060subprocess\u0060 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\u0027s not possible, and if passing environment variables to child processes poses a security risk for you, you can disable all default integrations.",
  "published": "2024-07-18T17:15:05Z",
  "severity": "medium",
  "cvss": 5.3,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N",
  "epss": 0.002,
  "epssPercentile": 0.09856,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "sentry-python",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.9.10-2\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2024-40647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-40647",
      "released": "2024-07-18T17:15:05Z"
    },
    {
      "platform": "linux",
      "product": "sentry-python",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.16.0-1",
      "fix": "DEBIAN-CVE-2024-40647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-40647",
      "released": "2024-07-18T17:15:05Z"
    },
    {
      "platform": "linux",
      "product": "sentry-python",
      "release": "Debian 14",
      "fixedVersion": "2.16.0-1",
      "fix": "DEBIAN-CVE-2024-40647",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-40647",
      "released": "2024-07-18T17:15:05Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}