7.5
HIGH
CVE-2023-29197
Guzzlehttp/PSR7 HTTP Header Injection Vulnerability
Description

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Affected versions are subject to improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. This is a follow-up to CVE-2022-24775 where the fix was incomplete. The issue has been patched in versions 1.9.1 and 2.4.5. There are no known workarounds for this vulnerability. Users are advised to upgrade.

INFO

Published Date :

April 17, 2023, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 7:56 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-29197 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-29197 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Guzzlephp psr-7
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-29197.

URL Resource
https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775 Not Applicable
https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96 Not Applicable
https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ Mailing List Third Party Advisory
https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 Technical Description
https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775 Not Applicable
https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96 Not Applicable
https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ Mailing List Third Party Advisory
https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 Technical Description

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Mirror of WordPress.org plugin: wp-ses

JavaScript PHP Hack

Updated: 1 month, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 1, 2024, 5:44 a.m. This repo has been linked 1 different CVEs too.

Mirror of WordPress.org plugin: amazon-s3-and-cloudfront

CSS JavaScript SCSS PHP Svelte Hack

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 27, 2024, 8:03 p.m. This repo has been linked 1 different CVEs too.

Prints a list of summarised Dependabot security alerts that are open, grouped by repository name.

Go Shell

Updated: 1 year, 7 months ago
0 stars 1 fork 1 watcher
Born at : May 5, 2023, 5:13 a.m. This repo has been linked 5 different CVEs too.

WP Offload SES Lite sends all outgoing WordPress emails through Amazon Simple Email Service (SES) instead of the local wp_mail() function.

JavaScript PHP Hack

Updated: 2 months, 2 weeks ago
14 stars 10 fork 10 watcher
Born at : April 17, 2019, 4:07 p.m. This repo has been linked 1 different CVEs too.

Automatically copies media uploads to Amazon S3 for delivery. Optionally configure Amazon CloudFront for even faster delivery.

JavaScript CSS PHP Hack SCSS Svelte

Updated: 1 month, 2 weeks ago
312 stars 144 fork 144 watcher
Born at : Sept. 4, 2012, 7:11 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-29197 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-29197 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775
    Added Reference https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96
    Added Reference https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw
    Added Reference https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/
    Added Reference https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 01, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html [No types assigned]
  • Initial Analysis by [email protected]

    May. 03, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775 No Types Assigned https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775 Not Applicable
    Changed Reference Type https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96 No Types Assigned https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96 Not Applicable
    Changed Reference Type https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw No Types Assigned https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw Vendor Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ Mailing List, Third Party Advisory
    Changed Reference Type https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 No Types Assigned https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 Technical Description
    Added CPE Configuration OR *cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* versions up to (excluding) 1.9.1 *cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.4.5
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 29, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 28, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-29197 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-29197 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.32 }} 0.02%

score

0.71033

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability