Service interruption via multiline header termination
Published Apr 24, 2023 · Updated Feb 13, 2025
Improper header validation in Laminas Diactoros allows attackers to trigger application errors through crafted HTTP header names. HeaderSecurity::assertValidName used a regex whose end anchor accepted a trailing line feed, so serialization terminated the HTTP/1.x header line early. Exploitation requires control of a header name passed to the library; consequences are limited to malformed outbound requests, application errors, or service interruption if a peer blocks them.
Summary
What happened
Improper header validation in Laminas Diactoros allows attackers to trigger application errors through crafted HTTP header names. HeaderSecurity::assertValidName used a regex whose end anchor accepted a trailing line feed, so serialization terminated the HTTP/1.x header line early. Exploitation requires control of a header name passed to the library; consequences are limited to malformed outbound requests, application errors, or service interruption if a peer blocks them.
The record
- CVE
- CVE-2023-29530
- Published
- Apr 24, 2023
- Updated
- Feb 13, 2025
- Vendor
- Laminas Project
- Product
- laminas-diactoros
- Classifications
- CWE-20, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 24, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.18.1
- Affected versionversion== 2.19.0
- Affected versionversion== 2.20.0
- Affected versionversion== 2.21.0
- Affected versionversion== 2.22.0
- Affected versionversion== 2.23.0
- Affected versionversion== 2.24.0
- Affected versionversion== 2.25.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo