Amenazas en vivo

Todas las CVE / Guzzlephp

CVE-2022-29248Guzzlephp Guzzle

Alta 8.1 Sin autenticación

Prioridad
64
CVSS 3.1
8.1
EPSS
1.4%
probabilidad de explotación en 30 días · percentil 72
Requiere autenticación
No
Publicada
25 may 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-200, CWE-565
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Qué pasa

Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.

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 Guzzle.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist drupal/core ≥ 8.0.0 < 9.2.20 9.2.20 composer require "drupal/core:^9.2.20"
Packagist drupal/core ≥ 9.3.0 < 9.3.14 9.3.14 composer require "drupal/core:^9.3.14"
Packagist guzzlehttp/guzzle < 6.5.6 6.5.6 composer require "guzzlehttp/guzzle:^6.5.6"
Packagist guzzlehttp/guzzle ≥ 7.0.0 < 7.4.3 7.4.3 composer require "guzzlehttp/guzzle:^7.4.3"

Según OSV / GitHub Advisories (DRUPAL-CORE-2022-010, GHSA-cwmx-hcrq-mhc3). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
guzzlephpguzzle< 6.5.6
guzzlephpguzzle≥ 7.0.0 < 7.4.3
drupaldrupal≥ 9.2.0 < 9.2.20
drupaldrupal≥ 9.3.0 < 9.3.14
debiandebian_linux11.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.