Loop with Unreachable Exit Condition ('Infinite Loop') Affecting michaelrsweet/pdfio package, versions [,1.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.04% (14th 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-UNMANAGED-MICHAELRSWEETPDFIO-7646770
  • published 7 Aug 2024
  • disclosed 6 Aug 2024
  • credit Song Hyun Bae, Jun Seo Bae, Jae Ho Jo, Lee Dong Ha

How to fix?

Upgrade michaelrsweet/pdfio to version 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop') in the ttf parser through the read_camp function, specifically by changing the nGroups value extracted from the file.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None