CVE-2023-29530
MEDIUM 6.5CVSS 3.1HTTP Multiline Header Termination
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().
- Published
- 24 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-xv3h-4844-9h36
- Sources
- NVDJSONOSV GHSA-xv3h-4844-9h36JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:* |
< 2.18.1 | 2.18.1 |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.19.0:*:*:*:*:*:*:* |
= 2.19.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.20.0:*:*:*:*:*:*:* |
= 2.20.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.21.0:*:*:*:*:*:*:* |
= 2.21.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.22.0:*:*:*:*:*:*:* |
= 2.22.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.23.0:*:*:*:*:*:*:* |
= 2.23.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.24.0:*:*:*:*:*:*:* |
= 2.24.0 | |
| NVD | getlaminas | laminas-diactoroscpe:2.3:a:getlaminas:laminas-diactoros:2.25.0:*:*:*:*:*:*:* |
= 2.25.0 | |
| NVD | guzzlephp | psr-7cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* |
< 1.9.1 | 1.9.1 |
| NVD | guzzlephp | psr-7cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.4.5 | 2.4.5 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | Packagist | laminas/laminas-diactoros | < 2.18.1 | 2.18.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.19.0, < 2.19.1 | 2.19.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.20.0, < 2.20.1 | 2.20.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.21.0, < 2.21.1 | 2.21.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.22.0, < 2.22.1 | 2.22.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.23.0, < 2.23.1 | 2.23.1 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.24.0, < 2.24.2 | 2.24.2 |
| OSV | Packagist | laminas/laminas-diactoros | >= 2.25.0, < 2.25.2 | 2.25.2 |
References
- https://github.com/advisories/GHSA-wxmh-65f7-jcvw · Not Applicable, ADVISORY
- https://github.com/laminas/laminas-diactoros/security/advisories/GHSA-xv3h-4844-9h36 · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPW54QK7ISDALPLP2CKODU4ZIVRYS336/ · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-29530 · ADVISORY
- https://github.com/laminas/laminas-diactoros/commit/7e721a60a09c5119c98694c2d23fc031094e1f1c · WEB
- https://github.com/laminas/laminas-diactoros · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 Apr 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Apr 2023)