Advisory

GHSA-5m22-cfq9-86x6

Also known as: CVE-2023-23930, PYSEC-2023-196

Summary

Pickle serialization vulnerable to Deserialization of Untrusted Data

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-13 19:25 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

vantage6

PyPI · All systems

Affected

  • introduced 0, fixed 4.0.2 (ecosystem)

Fixed versions

4.0.2

Fix

  • Fixed version 4.0.2
    pip install --upgrade vantage6==4.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences