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


Severity

0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.09% (40th percentile)

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'>.

NOTE: This vulnerability has also been identified as: CVE-2020-14161

CVSS Scores

version 3.1
Expand this section

Snyk

5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

5.3 medium