High

Pickle serialization vulnerable to Deserialization of Untrusted Data

  • Disclosed: 11.10.2023
  • Updated: 11.10.2026 15:17

What

We are using pickle as default serialization module but that has known security issues (see e.g. https://medium.com/ochrona/python-pickle-is-notoriously-insecure-d6651f1974c9).

In summary, it is not advisable to open Pickles that you create yourself locally. In vantage6, algorithms use pickles to send aggregated data around and to pack algorithm input or output. All of the Python algorithms that use the wrappers with default serialization are therefore vulnerable to this issue.

Solution: we should use JSON instead

Impact

All users of vantage6 that post tasks with algorithms that use the default serialization. The default serialization is used by default with all algorithm wrappers.

Patches

Not yet

Workarounds

Specify JSON serialization

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) vantage6 < 4.0.2 4.0.2

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-502
Platform
Python (PyPI)
Package
vantage6
Disclosed
11.10.2023
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2023-196 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-5m22-cfq9-86x6 - CC BY 4.0

Vulnerability history: vantage6

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (20) in the archive
Total entries
20
First → latest
02.2023 07.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 9
  • Low 6

Disclosures per year

  1. 2023: 7
  2. 2024: 7
  3. 2025: 1
  4. 2026: 5
Severity:
  1. High · 8.8 CVE-2024-21649 < 4.2.0 4.2.0
  2. Pickle serialization vulnerable to Deserialization of Untrusted Data this entry
    High · 7.2 CVE-2023-23930 < 4.0.2 4.0.2
  3. High · 8.8 CVE-2023-23929 < 3.8.0 3.8.0
  4. High · 6.5 CVE-2023-22738 < 3.8.0 3.8.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.