{"answers":{"affected":"3 open source packages ship an affected version, including golang.org/x/net. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41721 exists.","fix":"Upgrade golang.org/x/net to 0.1.1-0.20221104162952-702349b0e862 or later.","what":"CVE-2022-41721 is a high-severity vulnerability in golang.org/x/net/http2/h2c, published on 13 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-41721 and fix it if it is affected.\n\nWhat it is: CVE-2022-41721 is a high-severity vulnerability in golang.org/x/net/http2/h2c, published on 13 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41721 exists.\n\nAffected packages and fixed versions:\n- golang.org/x/net (Go): affected from 0.0.0-20220524220425-1d687d428aca; fixed in 0.1.1-0.20221104162952-702349b0e862\n- golang.org/x/net (Go): affected from 0.0.0-20220524220425-1d687d428aca; fixed in 0.1.1-0.20221104162952-702349b0e862\n- golang.org/x/net (Go): affected from 0.0.0-20220524220425-1d687d428aca; fixed in 0.1.1-0.20221104162952-702349b0e862\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-41721/ (Markdown: https://insights.sbomify.com/CVE-2022-41721/index.md)","id":"CVE-2022-41721","markdown":"https://insights.sbomify.com/CVE-2022-41721/index.md","name":"CVE-2022-41721","record":{"aliases":["AZL-13029","CLEANSTART-2026-PT09141","CLEANSTART-2026-ZK86640","DEBIAN-CVE-2022-41721","GHSA-fxg5-wq6x-vr4w","GO-2023-1495","openSUSE-SU-2024:12666-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Go HTTP2 library","requires_auth":"none","summary":"Attackers can perform request smuggling in Go HTTP2 servers using MaxBytesHandler, potentially leading to code execution or security bypass.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"h2c","vendor":"golang"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Request smuggling due to improper request handling in golang.org/x/net/http2/h2c","id":"CVE-2022-41721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2022"},"n_packages":4,"n_references":5,"next":{"headline":"Path traversal on Windows in path/filepath","id":"CVE-2022-41722"},"packages":[{"ecosystem":"Go","fixed":["0.1.1-0.20221104162952-702349b0e862"],"introduced":["0.0.0-20220524220425-1d687d428aca"],"last_affected":[],"package":"golang.org/x/net","purl":null,"source":"GHSA-fxg5-wq6x-vr4w"},{"ecosystem":"Go","fixed":["0.1.1-0.20221104162952-702349b0e862"],"introduced":["0.0.0-20220524220425-1d687d428aca"],"last_affected":[],"package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"GHSA-fxg5-wq6x-vr4w"},{"ecosystem":"Go","fixed":["0.1.1-0.20221104162952-702349b0e862"],"introduced":["0.0.0-20220524220425-1d687d428aca"],"last_affected":[],"package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"GO-2023-1495"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.6.3-1.1"],"introduced":["0"],"last_affected":[],"package":"caddy","purl":"pkg:rpm/opensuse/caddy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12666-1"}],"prev":{"headline":"Restricted file access on Windows in os and net/http","id":"CVE-2022-41720"},"products":["golang.org/x/net/http2/h2c"],"published":"2023-01-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-04","vendors":["golang.org/x/net"]},"summary":"Attackers can perform request smuggling in Go HTTP2 servers using MaxBytesHandler, potentially leading to code execution or security bypass.","url":"https://insights.sbomify.com/CVE-2022-41721/"}