CVE-2024-21527 json
CVE-2024-21527 in github.com/gotenberg/gotenberg
published 2024-07-19 2 y ago modified 2026-07-08 4 mo ago also GO-2024-2996 , EUVD-2024-19196
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gotenberg/gotenberg/v8 8.1.0
- n/a github.com/gotenberg/gotenberg/v8/pkg/gotenberg 8.1.0
- n/a github.com/gotenberg/gotenberg/v8/pkg/modules/chromium 8.1.0
- n/a github.com/gotenberg/gotenberg/v8/pkg/modules/webhook 8.1.0
- gotenberg gotenberg 8.1.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.8 | 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 |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P |
| CNA | 4.0 | 7.8 | 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 |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gotenberg/gotenberg/v7 | all versions |
no fix listed |
| go | github.com/gotenberg/gotenberg/v8 | <8.1.0 |
8.1.0 |
Affected products
- n/a github.com/gotenberg/gotenberg/v8/pkg/gotenberg
- n/a github.com/gotenberg/gotenberg/v8/pkg/modules/chromium
- n/a github.com/gotenberg/gotenberg/v8/pkg/modules/webhook
- gotenberg gotenberg
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794
patch
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082
web
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083
web
-
github.com
/gotenberg/gotenberg/releases/tag/v8.1.0
web
-
gist.github.com
/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21527
advisory
Sources
- CVE List CVE-2024-21527
- NVD CVE-2024-21527
- OSV GO-2024-2996
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.