CVE catalog

CVE-2023-30536

php-slim-psr7: CVE-2023-30536

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.74% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-slim-psr7sid1.8.0-1fixed
Debianphp-slim-psr7forky1.8.0-1fixed
Debianphp-slim-psr7trixie1.7.0-3fixed
Debianphp-slim-psr7bookworm1.6.1-1fixed
OpensusephpMyAdmintumbleweed5.2.2-1.1fixed
SusephpMyAdminpackage hub 15 sp65.2.2-bp156.4.3.1fixed
OpensusephpMyAdminleap 15.65.2.2-bp156.4.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-slim-psr7sourcesid1.6.1-1not yet assignedNot reported[1034580]
Debianphp-slim-psr7sourceforky1.6.1-1not yet assignedNot reported[1034580]
Debianphp-slim-psr7sourcetrixie1.6.1-1not yet assignedNot reported[1034580]
Debianphp-slim-psr7sourcebookworm1.6.1-1not yet assignedNot reported[1034580]
OpensusephpMyAdminrpmtumbleweed5.2.2-1.1Not reportedOPENSUSE-SU-2025:14688-1Not reported
SusephpMyAdminrpmpackage hub 15 sp65.2.2-bp156.4.3.1Not reportedOPENSUSE-SU-2025:0081-1Not reported
OpensusephpMyAdminrpmleap 15.65.2.2-bp156.4.3.1Not reportedOPENSUSE-SU-2025:0081-1Not reported

[Debian bug #1034580]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References