gsd-2023-29197
Vulnerability from gsd
Modified
2023-12-13 01:20
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-29197", "id": "GSD-2023-29197" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-29197" ], "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.", "id": "GSD-2023-29197", "modified": "2023-12-13T01:20:57.076314Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-29197", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "psr7", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 1.9.1" }, { "version_affected": "=", "version_value": "\u003e= 2.0.0, \u003c 2.4.5" } ] } } ] }, "vendor_name": "guzzle" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-436", "lang": "eng", "value": "CWE-436: Interpretation Conflict" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw", "refsource": "MISC", "url": "https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw" }, { "name": "https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96", "refsource": "MISC", "url": "https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96" }, { "name": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775", "refsource": "MISC", "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775" }, { "name": "https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4", "refsource": "MISC", "url": "https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4" }, { "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/", "refsource": "MISC", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/" }, { "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/", "refsource": "MISC", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/" }, { "name": "https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html", "refsource": "MISC", "url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html" } ] }, "source": { "advisory": "GHSA-wxmh-65f7-jcvw", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c1.9.1||\u003e=2.0.0,\u003c2.4.5", "affected_versions": "All versions before 1.9.1, all versions starting from 2.0.0 before 2.4.5", "cwe_ids": [ "CWE-1035", "CWE-436", "CWE-937" ], "date": "2023-04-19", "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.", "fixed_versions": [ "1.9.1", "2.4.5" ], "identifier": "CVE-2023-29197", "identifiers": [ "GHSA-wxmh-65f7-jcvw", "CVE-2023-29197" ], "not_impacted": "All versions starting from 1.9.1 before 2.0.0, all versions starting from 2.4.5", "package_slug": "packagist/guzzlehttp/psr7", "pubdate": "2023-04-19", "solution": "Upgrade to versions 1.9.1, 2.4.5 or above.", "title": "Interpretation Conflict", "urls": [ "https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96", "https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw", "https://nvd.nist.gov/vuln/detail/CVE-2023-29197", "https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4", "https://github.com/advisories/GHSA-wxmh-65f7-jcvw" ], "uuid": "e6255c34-4dd5-402b-b63b-63ac2f36ddae" } ] }, "nvd.nist.gov": { "cve": { "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*", "matchCriteriaId": "704750B5-E610-4CDF-AE19-64DA9B537919", "versionEndExcluding": "1.9.1", "vulnerable": true }, { "criteria": "cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*", "matchCriteriaId": "DB62DA3C-0E8C-4240-9238-67D584A839D3", "versionEndExcluding": "2.4.5", "versionStartIncluding": "2.0.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ] }, { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*", "matchCriteriaId": "E30D0E6F-4AE8-4284-8716-991DFA48CC5D", "vulnerable": true }, { "criteria": "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*", "matchCriteriaId": "CC559B26-5DFC-4B7A-A27C-B77DE755DFF9", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "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." } ], "id": "CVE-2023-29197", "lastModified": "2024-01-01T01:15:20.317", "metrics": { "cvssMetricV31": [ { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6, "source": "nvd@nist.gov", "type": "Primary" }, { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 1.4, "source": "security-advisories@github.com", "type": "Secondary" } ] }, "published": "2023-04-17T22:15:09.947", "references": [ { "source": "security-advisories@github.com", "tags": [ "Not Applicable" ], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775" }, { "source": "security-advisories@github.com", "tags": [ "Not Applicable" ], "url": "https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96" }, { "source": "security-advisories@github.com", "tags": [ "Vendor Advisory" ], "url": "https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw" }, { "source": "security-advisories@github.com", "url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html" }, { "source": "security-advisories@github.com", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/" }, { "source": "security-advisories@github.com", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/" }, { "source": "security-advisories@github.com", "tags": [ "Technical Description" ], "url": "https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4" } ], "sourceIdentifier": "security-advisories@github.com", "vulnStatus": "Modified", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-436" } ], "source": "security-advisories@github.com", "type": "Primary" } ] } } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.