Laminas Diactoros provides PSR HTTP Message implementations. In versions 2.18.0 and prior, 2.19.0, 2.20.0, 2.21.0, 2.22.0, 2.23.0, 2.24.0, and 2.25.0, users who create HTTP requests or responses using laminas/laminas-diactoros, when providing a newline at the start or end of a header key or value, can cause an invalid message. This can lead to denial of service vectors or application errors. The problem has been patched in following versions 2.18.1, 2.19.1, 2.20.1, 2.21.1, 2.22.1, 2.23.1, 2.24.1, and 2.25.1. As a workaround, validate HTTP header keys and/or values, and if using user-supplied values, filter them to strip off leading or trailing newline characters before calling `withHeader()`.
This vulnerability carries a HIGH severity rating with a CVSS v3.1 score of 7.5, indicating it can be exploited remotely over the network with relatively low complexity without requiring user interaction and does not require pre-existing privileges . The vulnerability impacts and availability (service disruption) for affected systems. Impacting 3 products from getlaminas, from guzzlephp, from fedoraproject organizations running these solutions should prioritize assessment and patching.
Reported in 2023, this vulnerability emerged during an era marked by increased sophistication in supply chain attacks, cloud infrastructure vulnerabilities, and software-as-a-service (SaaS) security challenges. Security practices during this period emphasized zero-trust architectures, container security, and API protection.
2023-04-24T20:15:08.823
2024-11-21T07:57:14.487
Modified
CVSSv3.1: 7.5 (HIGH)
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | getlaminas | laminas-diactoros | < 2.18.1 | Yes |
| Application | getlaminas | laminas-diactoros | 2.19.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.20.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.21.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.22.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.23.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.24.0 | Yes |
| Application | getlaminas | laminas-diactoros | 2.25.0 | Yes |
| Application | guzzlephp | psr-7 | < 1.9.1 | Yes |
| Application | guzzlephp | psr-7 | < 2.4.5 | Yes |
| Operating System | fedoraproject | fedora | 38 | Yes |
SecUtils normalizes and enriches National Vulnerability Database (NVD) records by standardizing vendor and product identifiers, aggregating vulnerability metadata from both NVD and MITRE sources, and providing structured context for security teams. For getlaminas's affected products, we extract Common Platform Enumeration (CPE) data, Common Weakness Enumeration (CWE) classifications, CVSS severity metrics, and reference data to enable rapid vulnerability prioritization and asset correlation. This record contains no exploit code, proof-of-concept instructions, or attack methodologies—only defensive intelligence necessary for patch management, risk assessment, and security operations.