{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21527","id":"CVE-2024-21527","title":"CVE-2024-21527 in github.com/gotenberg/gotenberg","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","descriptionLong":"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 <iframe src=\"\\\\localhost/etc/passwd\">. 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.","published":"2024-07-19T05:00:04.457Z","updated":"2026-10-28T02:30:29.227257741Z","reserved":"2023-12-22T12:33:20.122Z","status":"Deferred","rejected":false,"assigner":"snyk","metric":{"version":"4.0","score":8.8,"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","rating":"high","source":"snyk"},"metrics":[{"version":"4.0","score":8.8,"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","rating":"high","source":"snyk"},{"version":"4.0","score":7.8,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"snyk.io"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","rating":"high","source":"snyk.io"}],"rating":"high","products":["github.com/gotenberg/gotenberg/v8/pkg/gotenberg","github.com/gotenberg/gotenberg/v8/pkg/modules/chromium","github.com/gotenberg/gotenberg/v8/pkg/modules/webhook"],"affectedProducts":[{"vendor":"n/a","product":"github.com/gotenberg/gotenberg/v8/pkg/gotenberg","defaultStatus":null,"versions":[{"version":"0","lessThan":"8.1.0","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"github.com/gotenberg/gotenberg/v8/pkg/modules/chromium","defaultStatus":null,"versions":[{"version":"0","lessThan":"8.1.0","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"github.com/gotenberg/gotenberg/v8/pkg/modules/webhook","defaultStatus":null,"versions":[{"version":"0","lessThan":"8.1.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-2996"},{"ecosystem":"Go","name":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","ranges":["<8.1.0"],"fixed":["8.1.0"],"advisory":"GO-2024-2996"}],"cwes":["CWE-918"],"aliases":["GO-2024-2996"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081","tags":["x_transferred","web"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082","tags":["x_transferred","web"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083","tags":["x_transferred","web"]},{"url":"https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0","tags":["x_transferred","web"]},{"url":"https://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794","tags":["x_transferred","fix"]},{"url":"https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21527.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21527","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00574,"epssPercentile":0.48158,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21527","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21527","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21527","ok":true,"note":"2 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21527","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}