8.8high
CVE-2024-21527 in github.com/gotenberg/gotenberg
- Severity
- 8.8high CVSS:4.0 by snyk
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GO-2024-2996
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/gotenberg/gotenberg/v8/pkg/gotenberg | before 8.1.0 | CVE List |
| github.com/gotenberg/gotenberg/v8/pkg/modules/chromium | before 8.1.0 | CVE List |
| github.com/gotenberg/gotenberg/v8/pkg/modules/webhook | before 8.1.0 | CVE List |
| gotenberg gotenberg | before 8.1.0 | CVE List |
| github.com/gotenberg/gotenberg/v7 (Go) | all versions | Go Vulnerability Database |
| github.com/gotenberg/gotenberg/v8 (Go) | before 8.1.0 | Go Vulnerability Database |
All scores
| snyk | 8.8high CVSS:4.0 | 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 |
| snyk | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
CVE-2024-21527 in github.com/gotenberg/gotenberg
NVD (es)
Versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/gotenberg anteriores a 8.1.0; versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/modules/chromium anteriores a 8.1.0; Las versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/modules/webhook anteriores a 8.1.0 son vulnerables a la Server Side Request Forgery (SSRF) a través del endpoint /convert/html cuando se realiza una solicitud a un archivo a través de localhost, como . Al explotar esta vulnerabilidad, un atacante puede lograr la inclusión de archivos locales, permitiendo la lectura de archivos confidenciales en el sistema host. Workaround una alternativa es utilizar uno o ambos indicadores --chromium-deny-list y --chromium-allow-list.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21527 changed 2026-07-08 | CVE Terms of Use |
| Go Vulnerability Database | GO-2024-2996 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-21527 changed 2026-07-02 | Public domain |