Integer Overflow or Wraparound Affecting poppler-cpp-devel package, versions <0:22.08.0-3.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (65th 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-AMZN2023-POPPLERCPPDEVEL-5836861
  • published10 Aug 2023
  • disclosed30 Aug 2022

Introduced: 30 Aug 2022

CVE-2022-38784  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 poppler-cpp-devel to version 0:22.08.0-3.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-289.

NVD Description

Note: Versions mentioned in the description apply only to the upstream poppler-cpp-devel package and not the poppler-cpp-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Poppler prior to and including 22.08.0 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIGStream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2022-38171 in Xpdf.

References

CVSS Scores

version 3.1