Loop with Unreachable Exit Condition ('Infinite Loop') Affecting python package, versions [3.10.0,3.10.15) [3.11.0,3.11.10) [3.12.0,3.12.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (19th 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-PYTHON-7924817
  • published 9 Sep 2024
  • disclosed 22 Aug 2024
  • credit Seth Larson

How to fix?

Upgrade python to version 3.10.15, 3.11.10, 3.12.6 or higher.

Overview

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop') through zipfile.Path. An attacker can cause the application to enter an infinite loop by providing a specially crafted zip archive.

Notes:

1)This defect applies when reading only metadata or extracting the contents of the zip archive.

2)Programs that are not handling user-controlled zip archives are not affected.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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