Vulnerability 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 <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. Workaround An alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356
- https://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933
- https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENB
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULE
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULE
- https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356
- https://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933
- https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENB
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULE
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULE
FAQ
What is CVE-2024-21527?
CVE-2024-21527 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 packa...
How severe is CVE-2024-21527?
CVE-2024-21527 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21527?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.