Skip to content
Heist/ feed
Back to feed
High

Improper Input Validation in guzzlehttp/psr7

Type: advisorySources: OSV

guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions prior to 1.8.4 and 2.1.1 are vulnerable to improper header parsing. An attacker could sneak in a new line character and pass untrusted values. The issue is patched in 1.8.4 and 2.1.1. There are currently no known workarounds.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-24775
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:07 UTC · Revision 1

Source evidence

Improper Input Validation in guzzlehttp/psr7

core-osv · Original source

Published 21 Mar 2022, 19:00 UTC

guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions prior to 1.8.4 and 2.1.1 are vulnerable to improper header parsing. An attacker could sneak in a new line character and pass untrusted values. The issue is patched in 1.8.4 and 2.1.1. There are currently no known workarounds.

osv:CVE-2022-24775
Complete source record
{
  "id": "5e761ad8f821aff0eab60cdc9cfff109ec24c457a4781c91d94aa008e0e3353c",
  "url": "https://osv.dev/vulnerability/CVE-2022-24775",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Input Validation in guzzlehttp/psr7",
    "summary": "guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions prior to 1.8.4 and 2.1.1 are vulnerable to improper header parsing. An attacker could sneak in a new line character and pass untrusted values. The issue is patched in 1.8.4 and 2.1.1. There are currently no known workarounds.",
    "evidence": "osv:CVE-2022-24775",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-24775",
      "aliases": [
        "BIT-drupal-2022-24775",
        "CVE-2022-24775",
        "DRUPAL-CORE-2022-006",
        "GHSA-q7rv-6hp3-vh96"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drupal/drupal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "35c2f3ca5c935f3d8bde15932a712677c9bbd50f"
                },
                {
                  "fixed": "7dedb70d1d4d58709908dc6c665c322ed47e4744"
                },
                {
                  "introduced": "698ee686c23de8c97d7e0601cf745b220d54f4e1"
                },
                {
                  "fixed": "cce59c58baffd5b1f31102b480e0dd33c2d56f43"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "9.2.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.3.0"
                      },
                      {
                        "fixed": "9.3.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/guzzle/psr7",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "902db15a551a4a415e732b622282e21ce1b508b4"
                },
                {
                  "introduced": "1dc8d9cba3897165e16d12bb13d813afb1eb3fe7"
                },
                {
                  "fixed": "53491b6394cdcb66880063b82c0b16cf082711eb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.2.15",
            "9.3.8",
            "9.2.14",
            "9.3.7",
            "9.3.4",
            "9.2.10",
            "9.3.2",
            "9.3.0",
            "9.2.8",
            "9.2.7",
            "9.2.5",
            "9.2.3",
            "9.2.1",
            "9.2.0",
            "9.2.0-rc1",
            "9.2.0-beta3",
            "9.2.0-beta2",
            "9.2.0-beta1",
            "9.2.0-alpha1",
            "9.0.0-alpha2",
            "9.0.0-alpha1",
            "8.1.0-beta1",
            "8.0.0",
            "2.1.0",
            "1.8.3",
            "2.0.0",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.0",
            "1.6.1",
            "1.6.0",
            "1.5.0",
            "1.5.2",
            "1.5.1",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.1",
            "1.3.0",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.0",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24775.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.125386166Z",
      "provider": "osv",
      "references": [
        "https://github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1",
        "https://github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dc",
        "https://www.drupal.org/sa-core-2022-006",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24775.json",
        "https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-24775"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24775.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-24775",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513339,
  "published_at": "2022-03-21T19:00:17+00:00"
}