Vulnerability DatabaseGHSA-wjfc-pgfp-pv9c

GHSA-wjfc-pgfp-pv9c
PHP vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-29197) affects nyholm/psr7, a PSR-7 HTTP message library implementation in PHP. Discovered and disclosed in April 2023, this vulnerability involves improper header parsing that affects versions prior to 1.6.1. The issue is a follow-up to CVE-2022-24775 where the previous fix was incomplete (GitHub Advisory, Debian Security).

Technical details

The vulnerability allows attackers to exploit improper header parsing mechanisms. Specifically, an attacker could inject newline characters (\n) into both header names and values. While the HTTP specification (RFC 7230) states that \r\n\r\n should be used to terminate the header list, many servers also accept \n\n, creating a potential security risk. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Moderate) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (GitHub Advisory).

Impact

The vulnerability could allow attackers to manipulate header parsing behavior, potentially leading to security implications through header injection attacks. The impact primarily affects the integrity of the header processing, though the specific impact is rated as Low according to the CVSS scoring (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.6.1 of nyholm/psr7. There are no known workarounds for this vulnerability, and users are strongly advised to upgrade to the patched version (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management