CVE-2024-21527
JSON

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 packageVersionsReported by
github.com/gotenberg/gotenberg/v8/pkg/gotenbergbefore 8.1.0CVE List
github.com/gotenberg/gotenberg/v8/pkg/modules/chromiumbefore 8.1.0CVE List
github.com/gotenberg/gotenberg/v8/pkg/modules/webhookbefore 8.1.0CVE List
gotenberg gotenbergbefore 8.1.0CVE List
github.com/gotenberg/gotenberg/v7 (Go)all versionsGo Vulnerability Database
github.com/gotenberg/gotenberg/v8 (Go)before 8.1.0Go Vulnerability Database

All scores

snyk8.8high CVSS:4.0CVSS: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
snyk8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P

Classification

CWE-918

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

SourceRecordLicence
CVE ListCVE-2024-21527 changed 2026-07-08CVE Terms of Use
Go Vulnerability DatabaseGO-2024-2996 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-21527 changed 2026-07-02Public domain