Amenazas en vivo

Todas las CVE / getsentry

CVE-2024-40647getsentry sentry-python

Media 5.3

Prioridad
32
CVSS 3.1
5.3
EPSS
0.3%
probabilidad de explotación en 30 días · percentil 12
Requiere autenticación
Sí
Publicada
18 jul 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-200
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para sentry-python.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI sentry-sdk ≥ 2.0.0a1 < 2.8.0 2.8.0 pip install "sentry-sdk>=2.8.0"
PyPI sentry-sdk < 1.45.1 1.45.1 pip install "sentry-sdk>=1.45.1"
PyPI sentry-sdk < 1.45.1 1.45.1 pip install "sentry-sdk>=1.45.1"
PyPI sentry-sdk ≥ 2.0.0a1 < 2.8.0 2.8.0 pip install "sentry-sdk>=2.8.0"

Según OSV / GitHub Advisories (GHSA-g92j-qhmh-64v2, PYSEC-2026-1917). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.