Race Condition Affecting lifx-async package, versions [,2.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment 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-LIFXASYNC-14172373
  • published4 Dec 2025
  • disclosed2 Dec 2025
  • creditUnknown

Introduced: 2 Dec 2025

CVE NOT AVAILABLE CWE-362  (opens in a new tab)

How to fix?

Upgrade lifx-async to version 2.2.1 or higher.

Overview

lifx-async is an A modern, type-safe, async Python library for controlling LIFX lights

Affected versions of this package are vulnerable to Race Condition due to improper synchronization in concurrent request handling within the network module. The package fails to implement adequate locking mechanisms or atomic operations when processing simultaneous network requests, allowing multiple threads or coroutines to access and modify shared state concurrently without proper coordination. An attacker can exploit this by sending a high volume of carefully timed concurrent requests to trigger inconsistent state transitions, potentially leading to data corruption, unexpected behavior, authentication bypass, or Denial of Service through resource exhaustion or application crashes.

References

CVSS Base Scores

version 4.0
version 3.1