Malicious code in vmhttp (PyPI)
Summary
MAL-2023-7877: Malicious code in vmhttp (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 vmhttp package is an open-source Python package available on PyPI. It is designed to provide HTTP client functionality for Python applications. The package allows developers to make HTTP requests, handle responses, and manage cookies. However, the package has been found to contain malicious code, which can lead to the execution of spyware and information-stealing malware.
Vulnerability Detail
The vmhttp 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 malicious code in vmhttp can potentially compromise the security and privacy of applications that depend on it. It is crucial to take immediate action to mitigate the risk and protect sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall vmhttp
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 specific workaround for this vulnerability. The best course of action is to follow the steps mentioned in the 'how_to_fix' section and remove the vmhttp package from your project.
Conclusion
The vmhttp package from PyPI has been found to contain malicious code, posing a significant security risk to applications that depend on it. It is crucial to remove the package and replace it with a trusted alternative. Regularly updating and monitoring your dependencies can help prevent similar security breaches in the future. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for vmhttp →
FAQ
You can use Vulert's 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 and alert you in real-time if any open-source vulnerabilities, including this one, are found.
There have been reports of the EsqueleSquad group publishing malicious packages, including vmhttp, but specific instances of exploitation may vary. It is crucial to address this vulnerability promptly to prevent any potential security breaches.
As of now, the vmhttp package from PyPI is compromised and should not be trusted. It is recommended to find an alternative package that provides similar functionality from a trusted source.
The malicious code in vmhttp can lead to the execution of spyware and information-stealing malware. This can result in unauthorized access to sensitive data, compromised user privacy, and potential damage to the reputation of affected applications.
To ensure the security of your Python dependencies, it is important to regularly update them to the latest versions. Additionally, you can use tools like Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software.