Malicious code in python-aliyun-sdk-core (PyPI)

python-aliyun-sdk-core Updated 02 Oct 2025

Summary

11/08/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8364: Malicious code in python-aliyun-sdk-core (PyPI). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The python-aliyun-sdk-core package is an open-source Python library available on PyPI. It is designed to provide core functionality for interacting with Alibaba, AWS, and Telegram APIs. The package is widely used by developers to integrate their applications with these cloud platforms. Unfortunately, the package has been compromised with malicious code, posing a significant security risk to users who install or import it.

Vulnerability Detail

The malicious code was strategically hidden within specific functions of the python-aliyun-sdk-core package. It remains dormant until these functions are called, making it difficult to detect. The code targets users of Alibaba, AWS, and Telegram, aiming to exploit their systems or steal sensitive information. The exact nature and potential ramifications of the malicious code are not specified in the provided information.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall python-aliyun-sdk-core

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

No specific workaround is mentioned in the provided information. However, users can mitigate the risk by temporarily uninstalling the python-aliyun-sdk-core package until a patched version is available. They should also monitor official announcements and security advisories related to the package for further guidance.

Conclusion

The python-aliyun-sdk-core package has been compromised with malicious code, posing a significant security risk to users. It is crucial to update to a patched version or temporarily uninstall the package until a fix is available. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python-aliyun-sdk-core →

Share this vulnerability

FAQ

Python-aliyun-sdk-core is an open-source Python library used for interacting with Alibaba, AWS, and Telegram APIs. It provides core functionality for developers integrating their applications with these cloud platforms.

The malicious code is hidden within specific functions of the package and remains dormant until those functions are called. It targets users of Alibaba, AWS, and Telegram, potentially compromising their systems or stealing sensitive information.

The provided information does not specify the exact consequences of the malicious code. However, it can lead to system exploitation or unauthorized access to sensitive data.

To fix this vulnerability, you should update the python-aliyun-sdk-core package to a version that is not affected by the malicious code. Regularly check for updates and install the latest version to ensure your system's security.

While no specific workaround is mentioned, you can mitigate the risk by temporarily uninstalling the python-aliyun-sdk-core package until a patched version is available. Stay updated with official announcements and security advisories for further guidance.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall python-aliyun-sdk-core

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback