Skip to content

CVE-2023-29197 (Medium) detected in guzzlehttp/psr7-2.1.0 #8

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2023-29197 - Medium Severity Vulnerability

Vulnerable Library - guzzlehttp/psr7-2.1.0

PSR-7 message implementation that also provides common utility methods

Library home page: https://api.github.com/repos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72

Dependency Hierarchy:

  • guzzlehttp/guzzle-7.4.1 (Root Library)
    • guzzlehttp/psr7-2.1.0 (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2023-04-17

URL: CVE-2023-29197

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wxmh-65f7-jcvw

Release Date: 2023-04-17

Fix Resolution: guzzlehttp/psr7 - 2.4.5,guzzlehttp/psr7 - 1.9.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions