Malicious code in alisdkcore (PyPI)
Summary
MAL-2023-8355: Malicious code in alisdkcore (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
alisdkcore is a package available on PyPI that is used by users of Alibaba, AWS, and Telegram. It provides functionality for interacting with the Alibaba, AWS, and Telegram APIs. The package has been found to contain malicious code hidden within strategically chosen functions.
Vulnerability Detail
The malicious code in alisdkcore is designed to target users of Alibaba, AWS, and Telegram. It is distributed through packages published to PyPI. The code is hidden within specific functions and only triggers when these functions are called, making it difficult to detect. The code does not automatically run on installation or import, further evading detection. The malicious code can potentially lead to unauthorized access, data breaches, and other security issues for users of Alibaba, AWS, and Telegram.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall alisdkcore
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 update to a non-malicious version of alisdkcore to mitigate the risk.
Conclusion
The presence of malicious code in alisdkcore poses a significant security risk for users of Alibaba, AWS, and Telegram. It is crucial to update to a non-malicious version of alisdkcore to mitigate the risk of unauthorized access, data breaches, and other security issues. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for alisdkcore →
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, and Vulert will analyze it and alert you in real-time if any open-source vulnerabilities, including this one, are found.
The potential consequences of this vulnerability include unauthorized access, data breaches, and other security issues for users of Alibaba, AWS, and Telegram. It is crucial to update to a non-malicious version of alisdkcore to mitigate these risks.
Yes, the maintainers of alisdkcore have released a fixed version that removes the malicious code. It is recommended to update to the latest version of alisdkcore to fix this vulnerability.
No, the malicious code in alisdkcore is designed to evade detection. It does not automatically run on installation or import, making it difficult to identify. Updating to a non-malicious version of alisdkcore is the best way to mitigate the risk.
This vulnerability was discovered by Phylum. They reported it to the package maintainers and provided the necessary details for remediation.