Race Condition Affecting planai package, versions [,0.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-PYTHON-PLANAI-8145548
  • published 2 Oct 2024
  • disclosed 1 Oct 2024
  • credit Unknown

Introduced: 1 Oct 2024

CVE NOT AVAILABLE CWE-362 Open this link in a new tab

How to fix?

Upgrade planai to version 0.1.2 or higher.

Overview

planai is an A simple framework for coordinating classical compute and LLM-based tasks.

Affected versions of this package are vulnerable to Race Condition through _dispatch_notify, _dispatch_once, _notify_completed and _task_completed methods.

Note: The vulnerability is triggered under concurrent task execution and increases with system load and concurrency.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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