{"answers":{"affected":"2 open source packages ship an affected version, including github.com/gotenberg/gotenberg/v7 and github.com/gotenberg/gotenberg/v8.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21527 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-21527 is a high-severity server-side request forgery vulnerability in github.com/gotenberg/gotenberg/v8/pkg/gotenberg, published on 19 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21527 and fix it if it is affected.\n\nWhat it is: CVE-2024-21527 is a high-severity server-side request forgery vulnerability in github.com/gotenberg/gotenberg/v8/pkg/gotenberg, published on 19 Jul 2024. 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-2024-21527 exists.\n\nAffected packages and fixed versions:\n- github.com/gotenberg/gotenberg/v7 (Go): affected all versions; no fix listed\n- github.com/gotenberg/gotenberg/v8 (Go): affected all versions; fixed in 8.1.0\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-2024-21527/ (Markdown: https://insights.sbomify.com/CVE-2024-21527/index.md)","id":"CVE-2024-21527","markdown":"https://insights.sbomify.com/CVE-2024-21527/index.md","name":"CVE-2024-21527","record":{"aliases":["GO-2024-2996"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go document conversion library","requires_auth":"none","summary":"An attacker can exploit SSRF in the HTML conversion endpoint to read sensitive local files from the host system.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Versions of the package github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/chromium before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/webhook before 8.1.0 are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when a request is made to a file via localhost, such as \u003ciframe src=\"\\\\localhost/etc/passwd\"\u003e. By exploiting this vulnerability, an attacker can achieve local file inclusion, allowing of sensitive files read on the host system.\r\r Workaround\rAn alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Server-side request forgery in github.com/gotenberg/gotenberg/v8/pkg/gotenberg","id":"CVE-2024-21527","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":2,"n_references":6,"next":{"headline":"node-gettext vulnerable to Prototype Pollution","id":"CVE-2024-21528"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","source":"GO-2024-2996"},{"ecosystem":"Go","fixed":["8.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","source":"GO-2024-2996"}],"prev":{"headline":"speaker vulnerable to Denial of Service","id":"CVE-2024-21526"},"products":["github.com/gotenberg/gotenberg/v8/pkg/gotenberg","github.com/gotenberg/gotenberg/v8/pkg/modules/chromium","github.com/gotenberg/gotenberg/v8/pkg/modules/webhook"],"published":"2024-07-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"2026-07-08","vendors":["n/a"]},"summary":"An attacker can exploit SSRF in the HTML conversion endpoint to read sensitive local files from the host system.","url":"https://insights.sbomify.com/CVE-2024-21527/"}