Server-side Request Forgery (SSRF) Affecting github.com/thecodingmachine/gotenberg package, versions <7.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.07% (29th percentile)
Expand this section
NVD
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMTHECODINGMACHINEGOTENBERG-1062043
  • published 26 Feb 2021
  • disclosed 19 Jan 2021
  • credit Elavon Payments (@etsms)

How to fix?

Upgrade github.com/thecodingmachine/gotenberg to version 7.0.0 or higher.

Overview

github.com/thecodingmachine/gotenberg is a Docker-powered stateless API for PDF files.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when the src attribute of an HTML element refers to an internal system file, such as <iframe src='file:///etc/passwd'>.