kafka-python is vulnerable to Race Condition
25
Low Risk
Affected versions of the package are vulnerable to a race condition. The socket module provides a pure-Python fallback to the socket.socketpair() function for platforms that do not support AF_UNIX, such as Windows. This implementation uses AF_INET or AF_INET6 to create a local connected pair of sockets. However, the connection between the two sockets is not verified before returning them to the user, leaving the server socket vulnerable to a connection race from a malicious local peer.
You are affected if you are using a version which is within vulnerability ranges and if you are using Windows OS.
kafka-python is vulnerable to Race Condition in versions 0.9.0 - 2.0.2.
Upgrade the kafka-python library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant