CVE-2024-21527

State
Published
Severity
8.8 High
Published
Jul 19, 2024
Updated
Jul 8, 2026
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.8 HighCVSS: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:Psnyk
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-918 Server-side Request Forgery (SSRF)

Affected Products

ProductVersions
github.com/gotenberg/gotenberg/v8/pkg/gotenbergn/a
  • before 8.1.0Affected
github.com/gotenberg/gotenberg/v8/pkg/modules/chromiumn/a
  • before 8.1.0Affected
github.com/gotenberg/gotenberg/v8/pkg/modules/webhookn/a
  • before 8.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.