CVE Vulnerabilities

CVE-2018-17175

Published: Sep 18, 2018 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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).

Affected Software

NameVendorStart VersionEnd Version
MarshmallowMarshmallow_project*2.15.1 (excluding)
Python-marshmallowUbuntubionic*
Python-marshmallowUbuntucosmic*
Python-marshmallowUbuntuupstream*

References