CVE-2022-29248Guzzlephp Guzzle
Alta 8.1 Sin autenticación
Seguir: esta CVE · Guzzlephp · Guzzlephp Guzzle Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Guzzle.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| guzzlephp | guzzle | < 6.5.6 |
| guzzlephp | guzzle | ≥ 7.0.0 < 7.4.3 |
| drupal | drupal | ≥ 9.2.0 < 9.2.20 |
| drupal | drupal | ≥ 9.3.0 < 9.3.14 |
| debian | debian_linux | 11.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.drupal.org Patch Third Party Advisory