Malicious code in tplibcpuvm (PyPI)
Summary
MAL-2023-7207: Malicious code in tplibcpuvm (PyPI). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The tplibcpuvm package is an open-source Python package available on PyPI. It is used for CPU virtualization in various applications. The package provides functionality for managing virtual machines and executing code within them. Unfortunately, this package has been found to contain malicious code.
Vulnerability Detail
The tplibcpuvm package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in tplibcpuvm allows the execution of unauthorized code within the virtual machines, potentially leading to data theft, unauthorized access, and other malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tplibcpuvm
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to remove the malicious package and replace it with a secure alternative.
Conclusion
The tplibcpuvm package on PyPI has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability allows unauthorized code execution within virtual machines, posing a significant risk to data security. It is crucial to remove the malicious package and replace it with a trusted alternative. Regularly reviewing and updating packages in your project, as well as using a vulnerability monitoring tool like Vulert, can help mitigate the risk of similar vulnerabilities in the future.
See every vulnerability recorded for tplibcpuvm →
FAQ
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this one.
The malicious code in tplibcpuvm can lead to unauthorized code execution within virtual machines, which can result in data theft, unauthorized access, and other malicious activities. It is crucial to address this vulnerability promptly to protect your system and data.
While specific exploits targeting this vulnerability have not been disclosed, the presence of malicious code in tplibcpuvm increases the risk of unauthorized access and data compromise. It is recommended to take immediate action to mitigate this vulnerability.
While the presence of malicious packages on PyPI is concerning, it is important to note that the majority of packages on PyPI are safe and reliable. However, it is crucial to regularly review and update the packages used in your project and consider using a vulnerability monitoring tool like Vulert to stay informed about any potential vulnerabilities.
You can report this vulnerability to the package maintainers by contacting them through the PyPI platform or their official communication channels. Additionally, you can reach out to the Vulert team at info@devnack.com for further support on vulnerability remediation.