Security mailing lists by PureSourceCode

CVE-2023-29530

MEDIUM 6.5CVSS 3.1

HTTP 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:*
< 2.18.1 2.18.1
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.19.0:*:*:*:*:*:*:*
= 2.19.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.20.0:*:*:*:*:*:*:*
= 2.20.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.21.0:*:*:*:*:*:*:*
= 2.21.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.22.0:*:*:*:*:*:*:*
= 2.22.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.23.0:*:*:*:*:*:*:*
= 2.23.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.24.0:*:*:*:*:*:*:*
= 2.24.0
NVD getlaminas laminas-diactoros
cpe:2.3:a:getlaminas:laminas-diactoros:2.25.0:*:*:*:*:*:*:*
= 2.25.0
NVD guzzlephp psr-7
cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*
< 1.9.1 1.9.1
NVD guzzlephp psr-7
cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.4.5 2.4.5
NVD fedoraproject fedora
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.