CVE-2022-33000: Code Execution Backdoor in ml-scanner

ml-scanner Updated 02 Oct 2025

Summary

24/06/2022
Yes i
Unrated
Not published

CVE-2022-33000: The ML-Scanner package in PyPI v0.1.0 to v0.1.5 was discovered to contain a code execution backdoor via the request package. Affects ml-scanner versions >= 0.1.0, < 0.1.7. Fixed in 0.1.7. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ml-scanner package is an open-source Python package available on PyPI. It is designed to provide scanning capabilities for machine learning models. The package allows users to analyze and evaluate machine learning models, providing insights and metrics. However, versions 0.1.0 to 0.1.5 of ml-scanner contain a code execution backdoor via the request package.

Vulnerability Detail

The vulnerability in ml-scanner allows attackers to execute arbitrary code, leading to unauthorized access to sensitive user information and digital currency keys. This can result in the compromise of user data and the escalation of privileges. The vulnerability originates from the improper handling of requests in the ml-scanner package, allowing malicious actors to exploit the backdoor and execute arbitrary code.

How To Fix

Minimum fixed version

0.1.7

This is the first release that contains the fix.

pip install --upgrade "ml-scanner==0.1.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the ml-scanner package versions 0.1.0 to 0.1.5 are vulnerable to a code execution backdoor, allowing attackers to execute arbitrary code and potentially gain unauthorized access to sensitive information. Users are strongly advised to upgrade to version 0.1.7 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ml-scanner →

Share this vulnerability

FAQ

This vulnerability allows attackers to execute arbitrary code, potentially leading to unauthorized access to sensitive user information and digital currency keys. It can also result in the escalation of privileges.

Versions 0.1.0 to 0.1.5 of ml-scanner are affected by this vulnerability.

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 for any open-source vulnerabilities, including this one.

At the moment, there is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version (0.1.7 or later) as soon as possible.

You can find more information about this vulnerability, including its technical details and the fix, in the advisory database of the PyPA organization. The source can be accessed at: https://github.com/pypa/advisory-database/blob/main/vulns/ml-scanner/PYSEC-2022-215.yaml

How To Fix

Minimum fixed version

0.1.7

This is the first release that contains the fix.

pip install --upgrade "ml-scanner==0.1.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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