NULL Pointer Dereference Affecting podofo package, versions <0.9.7-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.71% (81st 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE313-PODOFO-1069254
  • published2 Feb 2021
  • disclosed4 Feb 2019

Introduced: 4 Feb 2019

CVE-2018-20751  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 podofo to version 0.9.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream podofo package and not the podofo package as distributed by Alpine. See How to fix? for Alpine:3.13 relevant fixed versions and status.

An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().AddKey(PdfName("MediaBox"),var) can be problematic due to the function GetObject() being called for the pPage NULL pointer object. The value of pPage at this point is 0x0, which causes a NULL pointer dereference.