cve.bz

CVE-2023-29530 Improper Input Validation

6.5 mediumEPSS 1.0%Fix available

Medium (6.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in laminas/laminas-diactoros 2.18.1, 2.19.1, 2.20.1.

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

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-29530 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-29530?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-29530?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-29530 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
getlaminas:laminas-diactorosbefore 2.18.1
getlaminas:laminas-diactoros2.19.0
getlaminas:laminas-diactoros2.20.0
getlaminas:laminas-diactoros2.21.0
getlaminas:laminas-diactoros2.22.0
getlaminas:laminas-diactoros2.23.0
getlaminas:laminas-diactoros2.24.0
getlaminas:laminas-diactoros2.25.0
guzzlephp:psr-7before 1.9.1
guzzlephp:psr-7from 2.0.0 before 2.4.5
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros<2.18.12.18.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.19.0 <2.19.12.19.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.20.0 <2.20.12.20.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.21.0 <2.21.12.21.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.22.0 <2.22.12.22.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.23.0 <2.23.12.23.1
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.24.0 <2.24.22.24.2
GHSA-xv3h-4844-9h36Packagistlaminas/laminas-diactoros>=2.25.0 <2.25.22.25.2

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON