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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st 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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMTHECODINGMACHINEGOTENBERG-1062043
  • published26 Feb 2021
  • disclosed19 Jan 2021
  • creditElavon Payments (@etsms)

Introduced: 19 Jan 2021

CVE-2021-23345  (opens in a new tab)
CWE-918  (opens in a new tab)
First added by Snyk

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