Vulnerability

CVE-2024-21527

highCVSS 4.0 7.8Published 19 Jul 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • gist.github.com /filipochnik/bc88a3d1cc17c07cec391ee98e1e6356
  • github.com /gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f…
  • github.com /gotenberg/gotenberg/releases/tag/v8.1.0
  • security.snyk.io /vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG…
  • security.snyk.io /vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCH…
  • security.snyk.io /vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWE…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning