Out-of-bounds Write Affecting enferex/pdfresurrect package, versions [,0.20)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (45th 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 IDSNYK-UNMANAGED-ENFEREXPDFRESURRECT-2366781
  • published26 Jan 2022
  • disclosed20 Nov 2020
  • creditUnknown

Introduced: 20 Nov 2020

CVE-2020-20740  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade enferex/pdfresurrect to version 0.20 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().

CVSS Base Scores

version 3.1