CVE-2023-30536Slimframework Slim Psr-7
Media 6.5 Sin autenticación
Seguir: esta CVE · Slimframework · Slimframework Slim Psr-7 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 55
- Requiere autenticación
- No
- Publicada
- 17 abr 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-436
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Qué pasa
slim/psr7 is a PSR-7 implementation for use with Slim 4. In versions prior to 1.6.1 an attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. An attacker that is able to control the header names that are passed to Slilm-Psr7 would be able to intentionally craft invalid messages, possibly causing application errors or invalid HTTP requests being sent out with an PSR-18 HTTP client. The latter might present a denial of service vector if a remote service’s web application firewall bans the application due to the receipt of malformed requests. The issue has been patched in version 1.6.1. There are no known workarounds to this issue. Users are advised to upgrade.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Slim Psr-7.
- 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 | slim/psr7 |
≥ 1.6 < 1.6.1 |
1.6.1 |
composer require "slim/psr7:^1.6.1" |
| Packagist | slim/psr7 |
≥ 1.5 < 1.5.1 |
1.5.1 |
composer require "slim/psr7:^1.5.1" |
| Packagist | slim/psr7 |
< 1.4.1 |
1.4.1 |
composer require "slim/psr7:^1.4.1" |
Según OSV / GitHub Advisories (GHSA-q2qj-628g-vhfw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| slimframework | slim_psr-7 | < 1.6.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory
- www.rfc-editor.org Technical Description