{"answers":{"affected":"2 open source packages ship an affected version, including github.com/mittwald/kube-httpcache.","exploited":"There is no known exploitation of GHSA-47xh-qxqv-mgvg in the wild and no public exploit code.","fix":"Upgrade github.com/mittwald/kube-httpcache to 0.7.1 or later.","what":"GHSA-47xh-qxqv-mgvg is a vulnerability in github.com/mittwald/kube-httpcache, published on 2 Dec 2022."},"fix_prompt":"Check this codebase for GHSA-47xh-qxqv-mgvg and fix it if it is affected.\n\nWhat it is: GHSA-47xh-qxqv-mgvg is a vulnerability in github.com/mittwald/kube-httpcache, published on 2 Dec 2022. \nExploitation: There is no known exploitation of GHSA-47xh-qxqv-mgvg in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/mittwald/kube-httpcache (Go): affected all versions; fixed in 0.7.1\n- github.com/mittwald/kube-httpcache (Go): affected all versions; fixed in 0.7.1\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/GHSA-47xh-qxqv-mgvg/ (Markdown: https://insights.sbomify.com/GHSA-47xh-qxqv-mgvg/index.md)","id":"GHSA-47xh-qxqv-mgvg","markdown":"https://insights.sbomify.com/GHSA-47xh-qxqv-mgvg/index.md","name":"GHSA-47xh-qxqv-mgvg","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\n\u003e A request forgery attack can be performed on Varnish Cache servers that have the HTTP/2 protocol turned on. An attacker may introduce characters through the HTTP/2 pseudo-headers that are invalid in the context of an HTTP/1 request line, causing the Varnish server to produce invalid HTTP/1 requests to the backend. This may in turn be used to successfully exploit vulnerabilities in a server behind the Varnish server.\n\u003e -- https://varnish-cache.org/security/VSV00011.html#vsv00011\n\n### Patches\n\nThis is fixed in Varnish 6.0.11; Varnish 6.0.11 is available in `kube-httpcache` versions v0.7.1 and later.\n\n### Workarounds\n\nSee [upstream mitigation hints](https://varnish-cache.org/security/VSV00011.html#mitigation).\n\n### References\n\n- https://varnish-cache.org/security/VSV00011.html#vsv00011","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"kube-httpcache is vulnerable to Cross-Site Request Forgery (CSRF)","id":"GHSA-47xh-qxqv-mgvg","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2022"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/mittwald/kube-httpcache","purl":null,"source":"GHSA-47xh-qxqv-mgvg"},{"ecosystem":"Go","fixed":["0.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/mittwald/kube-httpcache","purl":"pkg:golang/github.com/mittwald/kube-httpcache","source":"GHSA-47xh-qxqv-mgvg"}],"products":null,"published":"2022-12-02","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-47xh-qxqv-mgvg/"}