anyio@3.7.1 vulnerabilities

High level compatibility layer for multiple asynchronous event loop implementations

Direct Vulnerabilities

Known vulnerabilities in the anyio package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Race Condition

anyio is a High level compatibility layer for multiple asynchronous event loop implementations

Affected versions of this package are vulnerable to Race Condition in _eventloop.get_asynclib() that cause crashes when multiple event loops of the same backend are running in separate threads and simultaneously attempting to use AnyIO for the first time.

How to fix Race Condition?

Upgrade anyio to version 4.4.0 or higher.

[,4.4.0)