Race Condition Affecting planai package, versions [,0.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PLANAI-8145548
  • published2 Oct 2024
  • disclosed1 Oct 2024
  • creditUnknown

Introduced: 1 Oct 2024

CVE NOT AVAILABLE CWE-362  (opens 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