Malicious Code in visapyw (PyPI)
Summary
MAL-2023-7859: Malicious code in visapyw (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
visapyw is a Python package available on PyPI. It is used for interacting with Visa APIs and provides functionalities for payment processing, transaction management, and other financial operations. The package is widely used in various applications that require integration with Visa services.
Vulnerability Detail
A malicious code injection has been discovered in the visapyw package. This vulnerability is a result of the package being compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. The injected code executes spyware and information-stealing malware, posing a significant risk to applications that utilize visapyw. The malicious code can potentially compromise sensitive user data, financial information, and expose the affected system to further attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall visapyw
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 crucial to update the package to a secure version as soon as possible.
Conclusion
The malicious code injection in the visapyw package poses a significant security risk to applications utilizing this package. It is crucial to update to a non-compromised version of visapyw as soon as possible to mitigate the potential consequences. Additionally, it is advisable to scan the affected system for any signs of compromise and take appropriate security measures. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for visapyw →
FAQ
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your Pipfile.lock and provides real-time alerts for open-source vulnerabilities.
The malicious code injected in visapyw can lead to the compromise of sensitive user data, financial information, and expose the affected system to further attacks. It is crucial to address this vulnerability promptly to mitigate these risks.
At this time, there is no specific evidence of exploitation in the wild. However, given the widespread distribution of the compromised packages, it is essential to take immediate action to prevent any potential exploitation.
There may be alternative packages or libraries available for interacting with Visa APIs. It is recommended to research and evaluate other options based on your specific requirements and consider their security track record before making a switch.
If you come across any suspicious activity or have additional information related to this vulnerability, you can report it to the package maintainers or reach out to the Checkmarx team at supplychainsecurity@checkmarx.com.