PT-2023-22763 · Slim+1 · Slim/Psr7+1

Grahamcampbell

·

Published

2023-04-17

·

Updated

2025-03-03

·

CVE-2023-30536

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Name of the Vulnerable Software and Affected Versions slim/psr7 versions prior to 1.6.1
Description The issue allows an attacker to sneak in a newline ( ) into both the header names and values. Although the specification states that r r is used to terminate the header list, many servers also accept `
`. This could enable an attacker to craft invalid messages, potentially causing application errors or invalid HTTP requests being sent out with a 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.
Recommendations For versions prior to 1.6.1, upgrade to version 1.6.1 to resolve the issue. As a temporary workaround, consider restricting the input of header names to prevent the introduction of newlines ( ) until the upgrade is applied.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-1863
CVE-2023-30536
GHSA-Q2QJ-628G-VHFW
MGASA-2025-0023
OPENSUSE-SU-2025:0081-1
OPENSUSE-SU-2025:14688-1

Affected Products

Alt Linux
Slim/Psr7