{"answers":{"affected":"6 open source packages ship an affected version, including guzzlehttp/guzzle, drupal and drupal/core. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-29248 in the wild and no public exploit code.","fix":"Upgrade guzzlehttp/guzzle to a fixed version for your release line: 6.5.6 or 7.4.3.","what":"CVE-2022-29248 is a high-severity vulnerability in Debian Debian Linux, published on 25 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-29248 and fix it if it is affected.\n\nWhat it is: CVE-2022-29248 is a high-severity vulnerability in Debian Debian Linux, published on 25 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-29248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- guzzlehttp/guzzle (Packagist): affected all versions; fixed in 6.5.6\n- guzzlehttp/guzzle (Packagist): affected all versions; fixed in 6.5.6\n- guzzlehttp/guzzle (Packagist): affected from 7.0.0; fixed in 7.4.3\n- guzzlehttp/guzzle (Packagist): affected from 7.0.0; fixed in 7.4.3\n- drupal (Bitnami): affected from 9.2.0; fixed in 9.2.20, 9.3.14\n- drupal/core (Packagist): affected from 8.0.0; fixed in 9.2.20, 9.3.14\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-29248/ (Markdown: https://insights.sbomify.com/CVE-2022-29248/index.md)","id":"CVE-2022-29248","markdown":"https://insights.sbomify.com/CVE-2022-29248/index.md","name":"CVE-2022-29248","record":{"aliases":["BIT-drupal-2022-29248","DEBIAN-CVE-2022-29248","DRUPAL-CORE-2022-010","GHSA-cwmx-hcrq-mhc3","UBUNTU-CVE-2022-29248"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"PHP HTTP client","requires_auth":"none","summary":"A malicious server can set cookies for unrelated domains in Guzzle, potentially leaking sensitive data to attackers.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"drupal","vendor":"drupal"},{"product":"guzzle","vendor":"guzzlephp"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' =\u003e true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.","ecosystems":["Bitnami","Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-domain cookie leakage in Guzzle","id":"CVE-2022-29248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","drupal:drupal"],"type":"information_disclosure","year":"2022"},"n_packages":6,"n_references":5,"next":{"headline":"Reversible One-Way Hash and Use of a Broken or Risky Cryptographic Algorithm in io.github.javaezlib.JavaEZ","id":"CVE-2022-29249"},"packages":[{"ecosystem":"Bitnami","fixed":["9.2.20","9.3.14"],"introduced":["9.2.0","9.3.0"],"last_affected":[],"package":"drupal","purl":"pkg:bitnami/drupal","source":"BIT-drupal-2022-29248"},{"ecosystem":"Packagist","fixed":["9.2.20","9.3.14"],"introduced":["8.0.0","9.3.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"DRUPAL-CORE-2022-010"},{"ecosystem":"Packagist","fixed":["6.5.6"],"introduced":["0"],"last_affected":[],"package":"guzzlehttp/guzzle","purl":null,"source":"GHSA-cwmx-hcrq-mhc3"},{"ecosystem":"Packagist","fixed":["6.5.6"],"introduced":["0"],"last_affected":[],"package":"guzzlehttp/guzzle","purl":"pkg:composer/guzzlehttp/guzzle","source":"GHSA-cwmx-hcrq-mhc3"},{"ecosystem":"Packagist","fixed":["7.4.3"],"introduced":["7.0.0"],"last_affected":[],"package":"guzzlehttp/guzzle","purl":null,"source":"GHSA-cwmx-hcrq-mhc3"},{"ecosystem":"Packagist","fixed":["7.4.3"],"introduced":["7.0.0"],"last_affected":[],"package":"guzzlehttp/guzzle","purl":"pkg:composer/guzzlehttp/guzzle","source":"GHSA-cwmx-hcrq-mhc3"}],"prev":{"headline":"Exposure of Resource to Wrong Sphere in Electron","id":"CVE-2022-29247"},"products":["guzzle"],"published":"2022-05-25","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["guzzle"]},"summary":"A malicious server can set cookies for unrelated domains in Guzzle, potentially leaking sensitive data to attackers.","url":"https://insights.sbomify.com/CVE-2022-29248/"}