{"answers":{"affected":"1 open source package ship an affected version, including grafana-image-renderer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31176 in the wild and no public exploit code.","fix":"Upgrade grafana-image-renderer to 3.6.1 or later.","what":"CVE-2022-31176 is a high-severity vulnerability in grafana-image-renderer, published on 2 Sep 2022."},"fix_prompt":"Check this codebase for CVE-2022-31176 and fix it if it is affected.\n\nWhat it is: CVE-2022-31176 is a high-severity vulnerability in grafana-image-renderer, published on 2 Sep 2022. \nExploitation: There is no known exploitation of CVE-2022-31176 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- grafana-image-renderer (Bitnami): affected all versions; fixed in 3.6.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/CVE-2022-31176/ (Markdown: https://insights.sbomify.com/CVE-2022-31176/index.md)","id":"CVE-2022-31176","markdown":"https://insights.sbomify.com/CVE-2022-31176/index.md","name":"CVE-2022-31176","record":{"aliases":["BIT-grafana-image-renderer-2022-31176","GHSA-2cfh-233g-m4c5"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"grafana-image-renderer","vendor":"grafana"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Grafana Image Renderer is a Grafana backend plugin that handles rendering of panels \u0026 dashboards to PNGs using a headless browser (Chromium/Chrome). An internal security review identified an unauthorized file disclosure vulnerability. It is possible for a malicious user to retrieve unauthorized files under some network conditions or via a fake datasource (if user has admin permissions in Grafana). All Grafana installations should be upgraded to version 3.6.1 as soon as possible. As a workaround it is possible to [disable HTTP remote rendering](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#plugingrafana-image-renderer).","ecosystems":["Bitnami"],"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":"Grafana Image Renderer leaking files","id":"CVE-2022-31176","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":null,"year":"2022"},"n_packages":1,"n_references":3,"next":{"headline":"Possible to infer sensitive information through query strings in Flask-AppBuilder","id":"CVE-2022-31177"},"packages":[{"ecosystem":"Bitnami","fixed":["3.6.1"],"introduced":["0"],"last_affected":[],"package":"grafana-image-renderer","purl":"pkg:bitnami/grafana-image-renderer","source":"BIT-grafana-image-renderer-2022-31176"}],"prev":{"headline":"Cross-site scripting caused by the editor instance destroying process in ckeditor5","id":"CVE-2022-31175"},"products":["grafana-image-renderer"],"published":"2022-09-02","related":[],"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":"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":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["grafana"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-31176/"}