Malicious code in tpmcvirtual (PyPI)
Summary
MAL-2023-7268: Malicious code in tpmcvirtual (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 tpmcvirtual package is a PyPI package that provides functionality related to TPM (Trusted Platform Module) virtualization. It allows users to create and manage virtual TPM instances. The package is widely used in various applications that require TPM functionality. However, the package has been found to contain malicious code.
Vulnerability Detail
The tpmcvirtual package has been identified as one of the nearly 6000 malicious PyPi packages published by the EsqueleSquad group. These packages execute spyware and information-stealing malware. The specific vulnerability in tpmcvirtual allows the execution of malicious code, potentially leading to unauthorized access, data theft, and other security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpmcvirtual
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 take immediate action by removing the tpmcvirtual package and replacing it with a secure alternative.
Conclusion
The tpmcvirtual package has been found to contain malicious code, posing a significant security risk to applications that utilize it. It is crucial to remove the package and replace it with a trusted alternative to mitigate the vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for tpmcvirtual →
FAQ
The tpmcvirtual package is a PyPI package that provides functionality related to TPM (Trusted Platform Module) virtualization. It allows users to create and manage virtual TPM instances.
This vulnerability allows the execution of malicious code, potentially leading to unauthorized access, data theft, and other security breaches.
To fix this vulnerability, it is recommended to remove the tpmcvirtual package from your project and replace it with a trusted alternative. Additionally, regularly update and review the packages used in your project to avoid potential security risks.
There is no known workaround for this vulnerability. It is essential to take immediate action by removing the tpmcvirtual package and replacing it with a secure alternative.
To ensure the security of your project's dependencies, regularly update and review the packages used in your project. Consider using tools like Vulert (https://vulert.com) to monitor and alert for open-source vulnerabilities in your software.