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").
Advisories
Source ID Title
EUVD EUVD EUVD-2018-0090 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\").
Github GHSA Github GHSA GHSA-9q2p-fj49-vpxj In marshmallow library the schema "only" option treats an empty list as implying no "only" option
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00055}

epss

{'score': 0.00265}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-09-17T02:16:40.690Z

Reserved: 2018-09-18T00:00:00Z

Link: CVE-2018-17175

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-09-18T17:29:01.867

Modified: 2024-11-21T03:54:00.730

Link: CVE-2018-17175

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.