CVE-2019-17206: Uncontrolled Deserialization of Pickled Object in rediswrapper

rediswrapper Updated 02 Oct 2025

Summary

20/11/2019
Yes i
Critical
9.8

CVE-2019-17206: Uncontrolled deserialization of a pickled object in models.py in Frost Ming rediswrapper (aka Redis Wrapper) before 0.3.0 allows attackers to execute arbitrary scripts. Affects rediswrapper versions < 0.3.0. Fixed in 0.3.0. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

rediswrapper is a Python package available on PyPI that provides a wrapper for Redis, a popular in-memory data structure store. It allows developers to interact with Redis using Python objects and provides convenient methods for working with Redis data types such as hashes, lists, and sets. This vulnerability affects versions prior to 0.3.0 of rediswrapper.

Vulnerability Detail

The vulnerability in rediswrapper (aka Redis Wrapper) before version 0.3.0 arises from uncontrolled deserialization of a pickled object in the models.py file. This allows attackers to execute arbitrary scripts, potentially leading to remote code execution. The vulnerability is rated as critical with a CVSS score of 9.8. The affected functions include rediswrapper.models.HashType.__iter__, rediswrapper.models.HashType.__repr__, rediswrapper.models.ListType.__setitem__, rediswrapper.models.ListType.__getitem__, rediswrapper.models.ListType.__delitem__, rediswrapper.models.ListType.__repr__, rediswrapper.models.ListType.insert, rediswrapper.models.SetType.__repr__, rediswrapper.models.from_value, and rediswrapper.models.to_value.

How To Fix

Latest published version: 0.4.0.post1 as of 23 Oct 2026

pip install --upgrade "rediswrapper==0.4.0.post1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.0

This is the first release that contains the fix.

pip install --upgrade "rediswrapper==0.3.0"

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

Workaround

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version as soon as possible.

Conclusion

The uncontrolled deserialization vulnerability in rediswrapper before version 0.3.0 can lead to remote code execution. Users should upgrade to version 0.3.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for rediswrapper →

Share this vulnerability

FAQ

rediswrapper is a Python package that provides a wrapper for Redis, allowing developers to interact with Redis using Python objects.

This vulnerability allows attackers to execute arbitrary scripts, potentially leading to remote code execution.

Versions prior to 0.3.0 of rediswrapper are affected by this vulnerability.

To fix this vulnerability, upgrade to version 0.3.0 or later of rediswrapper.

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for rediswrapper.

How To Fix

Latest published version: 0.4.0.post1 as of 23 Oct 2026

pip install --upgrade "rediswrapper==0.4.0.post1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.0

This is the first release that contains the fix.

pip install --upgrade "rediswrapper==0.3.0"

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