Advisory

PYSEC-2018-67

Also known as: CVE-2018-17175, GHSA-9q2p-fj49-vpxj

Summary

The record has no summary.

Details

In the marshmallow library before 2.15.1 and 3.x before 3.0.0b9 for Python, the schema "only" option treats an empty list as implying no "only" option, which allows a request that was intended to expose no fields to instead expose all fields (if the schema is being filtered dynamically using the "only" option, and there is a user role that produces an empty value for "only").

Severity

Not rated by the source.

Dates

Published
2018-09-18 17:29 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

marshmallow

PyPI · All systems

Affected

  • introduced 0, fixed 2.15.1, introduced 3.0a0, fixed 3.0.0b9 (ecosystem)

Fixed versions

2.15.1, 3.0.0b9

Fix

  • Fixed version 2.15.1
    pip install --upgrade marshmallow==2.15.1
  • Fixed version 3.0.0b9
    pip install --upgrade marshmallow==3.0.0b9

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: PyPA Advisory Database · CC BY 4.0

Sources & licences