Bug 1631411 (CVE-2018-17175) - CVE-2018-17175 python-marshmallow: Information leak due to invalid usage of the schema "only" option
Summary: CVE-2018-17175 python-marshmallow: Information leak due to invalid usage of t...
Keywords:
Status: NEW
Alias: CVE-2018-17175
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1631412 1631413
Blocks: 1631414
TreeView+ depends on / blocked
 
Reported: 2018-09-20 14:17 UTC by Andrej Nemec
Modified: 2019-09-29 14:59 UTC (History)
8 users (show)

Fixed In Version: python-marshmallow 2.15.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-09-20 14:17:29 UTC
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").

Upstream issue:

https://github.com/marshmallow-code/marshmallow/issues/772

Upstream patches:

[2.x]
https://github.com/marshmallow-code/marshmallow/pull/782

[master]
https://github.com/marshmallow-code/marshmallow/pull/777

Comment 1 Andrej Nemec 2018-09-20 14:19:20 UTC
Created python-marshmallow tracking bugs for this issue:

Affects: epel-all [bug 1631413]
Affects: fedora-all [bug 1631412]


Note You need to log in before you can comment on or make changes to this bug.