Read the docs
TI-2023-13898 Aliases CVE-2023-29530GHSA-xv3h-4844-9h36

Laminas Diactoros vulnerable to HTTP Multiline Header Termination

Priority MEDIUM 41CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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()`.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00965 61st percentileScored 2026-11-07
Fix Fixed laminas-diactoros (laminas): 2.18.1laminas/laminas-diactoros (Packagist): 2.18.1, 2.19.1, 2.20.1 +5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
laminaslaminas-diactorosbefore 2.18.1; = 2.19.0; = 2.20.0; = 2.21.0; = 2.22.0; = 2.23.0; = 2.24.0; = 2.25.02.18.1Patch availableCNA
—laminas/laminas-diactoros (Packagist)before 2.18.12.18.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.19.0 to before 2.19.12.19.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.20.0 to before 2.20.12.20.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.21.0 to before 2.21.12.21.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.22.0 to before 2.22.12.22.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.23.0 to before 2.23.12.23.1Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.24.0 to before 2.24.22.24.2Patch availableGHSA-xv3h-4844-9h36
—laminas/laminas-diactoros (Packagist)2.25.0 to before 2.25.22.25.2Patch availableGHSA-xv3h-4844-9h36
  • laminas-diactoros Vendorlaminas Affected before 2.18.1; = 2.19.0; = 2.20.0; = 2.21.0; = 2.22.0; = 2.23.0; = 2.24.0; = 2.25.0 Fixed in 2.18.1 Patch available CNA
  • laminas/laminas-diactoros (Packagist) Vendor— Affected before 2.18.1 Fixed in 2.18.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.19.0 to before 2.19.1 Fixed in 2.19.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.20.0 to before 2.20.1 Fixed in 2.20.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.21.0 to before 2.21.1 Fixed in 2.21.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.22.0 to before 2.22.1 Fixed in 2.22.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.23.0 to before 2.23.1 Fixed in 2.23.1 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.24.0 to before 2.24.2 Fixed in 2.24.2 Patch available GHSA-xv3h-4844-9h36
  • laminas/laminas-diactoros (Packagist) Vendor— Affected 2.25.0 to before 2.25.2 Fixed in 2.25.2 Patch available GHSA-xv3h-4844-9h36

CPE configurations NVD · 10

CPEVersionsRoleVendor
cpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:*before 2.18.1Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.19.0:*:*:*:*:*:*:*2.19.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.20.0:*:*:*:*:*:*:*2.20.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.21.0:*:*:*:*:*:*:*2.21.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.22.0:*:*:*:*:*:*:*2.22.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.23.0:*:*:*:*:*:*:*2.23.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.24.0:*:*:*:*:*:*:*2.24.0Vulnerablelaminas
cpe:2.3:a:getlaminas:laminas-diactoros:2.25.0:*:*:*:*:*:*:*2.25.0Vulnerablelaminas
cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*before 1.9.1; 2.0.0 to before 2.4.5Vulnerableguzzle
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
  • cpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:* Versions before 2.18.1 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.19.0:*:*:*:*:*:*:* Versions 2.19.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.20.0:*:*:*:*:*:*:* Versions 2.20.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.21.0:*:*:*:*:*:*:* Versions 2.21.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.22.0:*:*:*:*:*:*:* Versions 2.22.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.23.0:*:*:*:*:*:*:* Versions 2.23.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.24.0:*:*:*:*:*:*:* Versions 2.24.0 Vulnerable ·laminas
  • cpe:2.3:a:getlaminas:laminas-diactoros:2.25.0:*:*:*:*:*:*:* Versions 2.25.0 Vulnerable ·laminas
  • cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* Versions before 1.9.1; 2.0.0 to before 2.4.5 Vulnerable ·guzzle
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA laminas-diactoros (laminas) Fixed in 2.18.1
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.18.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.19.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.20.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.21.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.22.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.23.1 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.24.2 Advisory →
  • Fix · GHSA-xv3h-4844-9h36 laminas/laminas-diactoros (Packagist) Fixed in 2.25.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-29530
  2. 2026-10-03 Alias added: GHSA-xv3h-4844-9h36

References

  • TI-2022-13153 HTTP Host Header Attack Vulnerability in laminas-diactoros CVSS 3.1HIGH 7.2

Sources