Malicious code in virtualre (PyPI)
Summary
MAL-2023-7833: Malicious code in virtualre (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 virtualre package is an open-source Python package available on PyPI. It is designed to provide virtual reality functionality for Python applications. The package allows developers to create virtual reality experiences and interact with virtual environments. However, the package has been found to contain malicious code that can execute spyware and information-stealing malware.
Vulnerability Detail
The virtualre package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages include spyware and information-stealing malware. The specific vulnerability in virtualre allows the execution of the malicious code, potentially compromising user data and system security. The malicious code can be triggered when using the affected package in Python applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall virtualre
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 virtualre package and replace it with a trusted alternative.
Conclusion
The virtualre package on PyPI has been found to contain malicious code that can execute spyware and information-stealing malware. It is crucial to remove this package from your Python environment and replace it with a trusted alternative. Regularly updating and reviewing the packages used in your application, along with using a package vulnerability monitoring tool like Vulert, can help ensure the security of your software. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for virtualre →
FAQ
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including the malicious code in virtualre.
The malicious code in virtualre can execute spyware and information-stealing malware, potentially compromising sensitive user data and system security. It is crucial to address this vulnerability promptly to mitigate any potential damage.
There have been reports of the EsqueleSquad group publishing malicious PyPi and NPM packages, including virtualre. While specific instances of exploitation may not be publicly disclosed, it is essential to assume that the vulnerability has the potential to be exploited.
The recommended fix for this vulnerability is to remove the virtualre package from your Python environment and replace it with a trusted alternative. Regularly updating and reviewing the packages used in your application is also crucial to avoid potential security risks.
To ensure the security of your Python packages, it is recommended to use a package vulnerability monitoring tool like Vulert. Vulert can provide real-time alerts for open-source vulnerabilities in your software, allowing you to take proactive measures to address any security risks.